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

pub struct SparkJob {
    pub args: 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>,
    pub driver: Option<Driver>,
}

A Dataproc job for running Apache Spark applications on YARN.

Fields

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.

jar_file_uris: Vec<String>

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

file_uris: Vec<String>

Optional. HCFS URIs of files to be copied to the working directory of Spark 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 Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.

properties: HashMap<String, String>

Optional. A mapping of property names to values, used to configure Spark. 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.

driver: Option<Driver>

Required. The specification of the main method to call to drive the job. Specify either the jar file that contains the main class or the main class name. To pass both a main jar and a main class in that jar, add the jar to CommonJob.jar_file_uris, and then specify the main class name in main_class.

Trait Implementations

impl Clone for SparkJob[src]

impl Debug for SparkJob[src]

impl Default for SparkJob[src]

impl Message for SparkJob[src]

impl PartialEq<SparkJob> for SparkJob[src]

impl StructuralPartialEq for SparkJob[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]