Re: How to disable SparkUI programmatically?

2015-11-18 Thread Ted Yu
Refer to core/src/test/scala/org/apache/spark/ui/UISuite.scala , around line 41: val conf = new SparkConf() .setMaster("local") .setAppName("test") .set("spark.ui.enabled", "true") Cheers On Wed, Nov 18, 2015 at 3:05 AM, Ted Yu wrote: > You can set spark.ui.enabled config p

Re: How to disable SparkUI programmatically?

2015-11-18 Thread Ted Yu
You can set spark.ui.enabled config parameter to false. Cheers > On Nov 18, 2015, at 1:29 AM, Alex Luya wrote: > > I noticed that blow bug has been fixed: > > https://issues.apache.org/jira/browse/SPARK-2100 > but how to do it(I mean disabling SparkUI) programmatically? > > is it by sparkCo

How to disable SparkUI programmatically?

2015-11-18 Thread Alex Luya
I noticed that blow bug has been fixed: https://issues.apache.org/jira/browse/SPARK-2100 but how to do it(I mean disabling SparkUI) programmatically? is it by sparkContext.setLocalProperty(?,?)? and I checked blow link,can't figured out which property to set http://localhost/spark/docs/config