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
