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 <[email protected]> wrote:
> You can set spark.ui.enabled config parameter to false.
>
> Cheers
>
> On Nov 18, 2015, at 1:29 AM, Alex Luya <[email protected]> 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 sparkContext.setLocalProperty(?,?)?
>
> and I checked blow link,can't figured out which property to set
>
> http://localhost/spark/docs/configuration.html#spark-ui
>
>