Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Since we want to use Spark hadoop APIs in local mode for design time to explore the first couple hundred lines of data in HDFS. Also, we want to use Spark in our tomcat application, so starting a jetty UI will make our tomcat unhappy. In those scenarios, Spark UI is not necessary, and wasting resource.
As a result, for local mode, it's desirable that users are able to disable the spark UI.
Couple places I found where the jetty will be started.
In SparkEnv.scala
1) val broadcastManager = new BroadcastManager(isDriver, conf, securityManager)
2) val httpFileServer = new HttpFileServer(securityManager)
httpFileServer.initialize()
I don't know if broadcastManager is needed in local mode tho.
Attachments
Issue Links
- duplicates
-
SPARK-1047 Ability to disable the spark ui server (unit tests)
- Closed
- is related to
-
SPARK-1047 Ability to disable the spark ui server (unit tests)
- Closed