Github user ehnalis commented on the pull request:

    https://github.com/apache/spark/pull/6671#issuecomment-109789397
  
    @andrewor14 Currently the only place where you can set the name of your 
application is when you prepare an `ApplicationSubmissionContext` (YARN API) 
and you set the application name before submitting with `YarnClient`. This is 
what `org.apache.spark.deploy.yarn.Client` does. The problem is that the name 
of the Spark application has been set with `SparkContext.setAppName` usually in 
the user code (JAR) you wish to deploy to the cluster. When `SparkContext` 
wakes up on YARN as the AM process on `container 0`, your application already 
has an ID and a name, which you are not able to change as AM, neither as the 
client who submitted the application.
    
    Check https://issues.apache.org/jira/browse/YARN-3772


---
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]

Reply via email to