Struct googapis::google::cloud::dataproc::v1::HadoopJob [−][src]
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>,
}
Expand description
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
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for HadoopJob
impl UnwindSafe for HadoopJob
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more