spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgravescs <...@git.apache.org>
Subject [GitHub] spark pull request: Add Security to Spark - Akka, Http, Connection...
Date Mon, 03 Mar 2014 16:15:55 GMT
Github user tgravescs commented on a diff in the pull request:

    https://github.com/apache/spark/pull/33#discussion_r10216010
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -135,6 +135,8 @@ class SparkContext(
     
       val isLocal = (master == "local" || master.startsWith("local["))
     
    +  if (master == "yarn-client") System.setProperty("SPARK_YARN_MODE", "true")
    --- End diff --
    
    Not sure off hand.  I did want to change the confs to use sparkConf.  I was going to wait
until the sparkConf stuff was working again (reading files, etc) and my other thought was
to possibly do it after this goes in just so this doesn't drag on.  But I can investigate
now if you prefer?


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

Mime
View raw message