[][src]Struct gcp_client::google::cloud::dataproc::v1::PySparkJob

pub struct PySparkJob {
    pub main_python_file_uri: String,
    pub args: Vec<String>,
    pub python_file_uris: Vec<String>,
    pub jar_file_uris: Vec<String>,
    pub file_uris: Vec<String>,
    pub archive_uris: Vec<String>,
    pub properties: HashMap<String, String>,
    pub logging_config: Option<LoggingConfig>,
}

A Dataproc job for running Apache PySpark applications on YARN.

Fields

main_python_file_uri: String

Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.

args: Vec<String>

Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.

python_file_uris: Vec<String>

Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.

jar_file_uris: Vec<String>

Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.

file_uris: Vec<String>

Optional. HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.

archive_uris: Vec<String>

Optional. HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.

properties: HashMap<String, String>

Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.

logging_config: Option<LoggingConfig>

Optional. The runtime log config for job execution.

Trait Implementations

impl Clone for PySparkJob[src]

impl Debug for PySparkJob[src]

impl Default for PySparkJob[src]

impl Message for PySparkJob[src]

impl PartialEq<PySparkJob> for PySparkJob[src]

impl StructuralPartialEq for PySparkJob[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]