Re: SPARK_JAVA_OPTS not picked up by the application

2014-03-12 Thread Linlin
Thank you! I have set the jvm option in sbt for local mode, that works! not sure how to specify it through System.setProperty(), this is jvm command line option only? Thank you for your help! -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/SPARK-JAVA-OP

Re: SPARK_JAVA_OPTS not picked up by the application

2014-03-10 Thread Linlin
Thanks! so SPARK_DAEMON_JAVA_OPTS is for worker? and SPARK_JAVA_OPTS is for master? I only set SPARK_JAVA_OPTS in spark-env.sh, and the JVM opt is applied to both master/worker daemon. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/SPARK-JAVA-OPTS-not

Re: SPARK_JAVA_OPTS not picked up by the application

2014-03-10 Thread Linlin
Thanks! since my worker is on the same node, -Xss JVM option is for setting thread maximum stack size, my worker does show this option now. now I realized I accidently run the the app run in local mode as I didn't give the master URL when initializing the spark context, for local mode, how to p

Re: SPARK_JAVA_OPTS not picked up by the application

2014-03-10 Thread Linlin
my cluster only has 1 node (master/worker). -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/SPARK-JAVA-OPTS-not-picked-up-by-the-application-tp2483p2506.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

SPARK_JAVA_OPTS not picked up by the application

2014-03-10 Thread Linlin
Hi, I have a java option (-Xss) setting specified in SPARK_JAVA_OPTS in spark-env.sh, noticed after stop/restart the spark cluster, the master/worker daemon has the setting being applied, but this setting is not being propagated to the executor, my application continue behave the same. I am not