A Dataproc job for running Apache Hadoop MapReduce jobs on Apache Hadoop YARN.
| JSON representation |
|---|
{
"args": [
string
],
"jarFileUris": [
string
],
"fileUris": [
string
],
"archiveUris": [
string
],
"properties": {
string: string,
...
},
"loggingConfig": {
object ( |
| Fields | |
|---|---|
args[] |
Optional. The arguments to pass to the driver. Do not include arguments, such as |
jarFileUris[] |
Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks. |
fileUris[] |
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. |
archiveUris[] |
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 |
Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in An object containing a list of |
loggingConfig |
Optional. The runtime log config for job execution. |
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. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: |
|
mainJarFileUri |
The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar' |
mainClass |
The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in |
| End of mutually exclusive fields. | |