How to disable SparkUI programmatically?

I noticed that this error is fixed:

Allow users to disable the Jetty Spark interface in local mode

https://issues.apache.org/jira/browse/SPARK-2100

but how can it be disabled programmatically?

- this is

sparkContext.setLocalProperty(?, ?) 

I checked the documentation but could not determine which property to set

http://spark.apache.org/docs/latest/configuration.html#spark-ui

+7
apache-spark
source share
1 answer

Set spark.ui.enabled to false . This configuration is not documented on the Spark configuration page, as it was added as an internal configuration for debugging and unit tests [1].

[1] https://github.com/apache/spark/pull/2363/files#r17436782

+17
source share

All Articles