You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by colorant <gi...@git.apache.org> on 2014/02/12 02:45:47 UTC

[GitHub] incubator-spark pull request: SPARK-1053. Don't require SPARK_YARN...

Github user colorant commented on the pull request:

    https://github.com/apache/incubator-spark/pull/553#issuecomment-34830448
  
    @sryza I think this depends on what you mean to do with the yarn-client mode, for spark-shell, since it is already packaged in the assembly jar. you don't need to set the SPARK_YARN_APP_JAR env. And the yarn doc just happen to take spark-shell as an example. While for those user apps which are not packaged in the spark assembly jar, you will need it , for either yarn-standalone and yarn-client mode. ( while, there are also other ways to add them, say with --files etc, but this one is a shortcut and actually treat default local file URL format differently ).