Github user tgravescs commented on a diff in the pull request:

    https://github.com/apache/spark/pull/969#discussion_r13865835
  
    --- Diff: 
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala 
---
    @@ -45,6 +44,25 @@ class ClientArguments(val args: Array[String], val 
sparkConf: SparkConf) {
     
       parseArgs(args.toList)
     
    +  // -archives/--files via spark submit or yarn-client defaults to use 
file:// if not specified
    +  if (sys.props.contains("SPARK_SUBMIT") || 
(sparkConf.getOption("spark.master").isDefined &&
    --- End diff --
    
    this logic is already handled by spark-submit, no reason to duplicate


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to