I think that difference in the code is just an oversight. They actually do the same thing.
Why do you say this property can only be set in a file? On Fri, Feb 12, 2016 at 9:39 PM, Jacek Laskowski <ja...@japila.pl> wrote: > Hi devs, > > Following up on this, it appears that spark.worker.ui.port can only be > set in --properties-file. I wonder why conf/spark-defaults.conf is > *not* used for the spark.worker.ui.port property? Any reason for the > decision? > > Pozdrawiam, > Jacek > > Jacek Laskowski | https://medium.com/@jaceklaskowski/ > Mastering Apache Spark > ==> https://jaceklaskowski.gitbooks.io/mastering-apache-spark/ > Follow me at https://twitter.com/jaceklaskowski > > > On Thu, Feb 11, 2016 at 2:51 PM, Jacek Laskowski <ja...@japila.pl> wrote: >> Hi, >> >> Is there a reason to use conf to read SPARK_WORKER_MEMORY not >> System.getenv as for the other env vars? >> >> https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/worker/WorkerArguments.scala#L45 >> >> Pozdrawiam, >> Jacek >> >> Jacek Laskowski | https://medium.com/@jaceklaskowski/ >> Mastering Apache Spark >> ==> https://jaceklaskowski.gitbooks.io/mastering-apache-spark/ >> Follow me at https://twitter.com/jaceklaskowski > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org > For additional commands, e-mail: dev-h...@spark.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org For additional commands, e-mail: dev-h...@spark.apache.org