HadoopJob Stay organized with collections Save and categorize content based on your preferences.
A Dataproc job for runningApache Hadoop MapReduce jobs onApache 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. |
Union fielddriver. 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 tojar_file_uris, and then specify the main class name in this property.driver can be only one of the following: | |
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 |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-20 UTC.