Github user zjffdu commented on the pull request:

    https://github.com/apache/spark/pull/6360#issuecomment-166224830
  
    @vanzin  I am reading the yarn related code specially on 
org.apache.spark.deploy.yarn.Client.scala
    Do you know where LOCAL_SCHEME("local") come from ? As I know we use 
file:// to represent a local resource, so not sure where "local" come from. 
    
    Another question is that if I specify spark.yarn.jar as a hdfs location, 
the yarn client will still copy it to staging directory, I don't know why we do 
this. Would just use the hdfs file as LocalResource without copying much easier 
?


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