Github user WangTaoTheTonic commented on the pull request:
https://github.com/apache/spark/pull/3557#issuecomment-69534968
@andrewor14 @vanzin
After moving the logic to `SparkSubmitArguments`, I tested with no
`SparkConf.setAppName` in application code, here is the results:
Setting | name in client mode | name in cluster mode
--------- | ------------------------- | ---------------------------
none | org.apache.spark.examples.SparkPi | org.apache.spark.examples.SparkPi
spark.app.name | spark.app.name | spark.app.name
SPARK_YARN_APP_NAME | SPARK_YARN_APP_NAME | SPARK_YARN_APP_NAME
spark.app.name and SPARK_YARN_APP_NAME | spark.app.name | spark.app.name
The names on Driver's UI and RM's UI is consistent.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]