Class SparkJob (0.8.2)

A Dataproc job for running Apache Spark <http://spark.apache.org/>__ applications on YARN. .. attribute:: 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.

The name of the driver’s main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.

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

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.

Optional. The runtime log config for job execution.

Classes

PropertiesEntry

API documentation for dataproc_v1.types.SparkJob.PropertiesEntry class.