-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-26600] Update spark-submit usage message #23518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -576,27 +576,26 @@ private[deploy] class SparkSubmitArguments(args: Seq[String], env: Map[String, S | |
| | --kill SUBMISSION_ID If given, kills the driver specified. | ||
| | --status SUBMISSION_ID If given, requests the status of the driver specified. | ||
| | | ||
| | Spark standalone and Mesos only: | ||
| | Spark standalone, Mesos and K8S only: | ||
| | --total-executor-cores NUM Total cores for all executors. | ||
| | | ||
| | Spark standalone and YARN only: | ||
| | --executor-cores NUM Number of cores per executor. (Default: 1 in YARN mode, | ||
| | or all available cores on the worker in standalone mode) | ||
| | Spark standalone, YARN and K8S only: | ||
| | --executor-cores NUM Number of cores used by each executor. (Default: 1 in | ||
| | YARN and K8S modes, or all available cores on the worker | ||
| | in standalone mode). | ||
| | | ||
| | YARN-only: | ||
| | Spark on YARN and K8S only: | ||
| | --principal PRINCIPAL Principal to be used to login to KDC. | ||
| | --keytab KEYTAB The full path to the file that contains the keytab for the | ||
| | principal specified above. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what happens to the rest of the original text?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for reviewing. The text that I cut is mostly about the implementation of --keytab (i.e. spark.kerberos.keytab) and refers to the YARN implementation. In K8S the implementation is different. Also on YARN this has evolved recently BTW. I think it is safe and shorter just to omit the implementation details in this scope. |
||
| | | ||
| | Spark on YARN only: | ||
| | --queue QUEUE_NAME The YARN queue to submit to (Default: "default"). | ||
| | --num-executors NUM Number of executors to launch (Default: 2). | ||
| | If dynamic allocation is enabled, the initial number of | ||
| | executors will be at least NUM. | ||
| | --archives ARCHIVES Comma separated list of archives to be extracted into the | ||
| | working directory of each executor. | ||
| | --principal PRINCIPAL Principal to be used to login to KDC, while running on | ||
| | secure HDFS. | ||
| | --keytab KEYTAB The full path to the file that contains the keytab for the | ||
| | principal specified above. This keytab will be copied to | ||
| | the node running the Application Master via the Secure | ||
| | Distributed Cache, for renewing the login tickets and the | ||
| | delegation tokens periodically. | ||
| """.stripMargin | ||
| ) | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.