[][src]Struct gcp_client::google::cloud::dataproc::v1beta2::HadoopJob

pub struct HadoopJob {
    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 Hadoop MapReduce jobs on Apache Hadoop YARN.

Fields

args: Vec<String>

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

jar_file_uris: Vec<String>

Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.

file_uris: Vec<String>

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

properties: HashMap<String, String>

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

logging_config: Option<LoggingConfig>

Optional. The runtime log config for job execution.

driver: Option<Driver>

Required. Indicates the location of the driver's main class. Specify either the jar file that contains the main class or the main class name. To specify both, add the jar file to jar_file_uris, and then specify the main class name in this property.

Trait Implementations

impl Clone for HadoopJob[src]

impl Debug for HadoopJob[src]

impl Default for HadoopJob[src]

impl Message for HadoopJob[src]

impl PartialEq<HadoopJob> for HadoopJob[src]

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