Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/539#issuecomment-41864970
  
    Ah, I see what you mean. I don't see a clean way to make "--name" work in 
client mode; SparkSubmit could call System.setProperty("spark.app.name"), but 
that (i) looks hacky and (ii) might be overriden by the application when it 
sets the app name in SparkConf.
    
    Maybe stash that value somewhere else and check it in the code my patch is 
touching? It's less hacky in that it would allow overriding the SparkConf 
value, but still kinda ugly.


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

Reply via email to