DX Spark Submit Utility
dx-spark-submit is a utility script that can be used in DNAnexus Spark applications to more easily submit and monitor a Spark job.
Usage
usage: dx-spark-submit [-h | --help] [--log-level {INFO,WARN,TRACE,DEBUG}]
[--collect-logs] [--log-collect-dir LOG_COLLECT_DIR]
[--app-config APP_CONFIG] [--user-config USER_CONFIG]
spark-driver-args
positional arguments:
spark-driver-args Options to be passed directly to spark-submit, including
Spark application, properties, and driver options
optional arguments:
-h, --help show this help message and exit
--log-level {INFO,WARN,TRACE,DEBUG}
Log level for driver and executor
--collect-logs Collect logs to a project in the platform
--log-collect-dir LOG_COLLECT_DIR
Directory in project to upload logs
--app-config APP_CONFIG
Application configuration json string or file
--user-config USER_CONFIG
User configuration json string or fileHow does it work?
Spark Property Overrides
Application Configuration JSON
User Configuration JSON
Log Collection
Log Level
Spark Arguments
Example
Last updated
Was this helpful?