[ 
https://issues.apache.org/jira/browse/SPARK-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14032786#comment-14032786
 ] 

DB Tsai commented on SPARK-2100:
--------------------------------

Jar file conflict. If we only include spark-core in our tomcat project, and use 
it in local mode, we will get classNotFound for jetty class. If we also include 
jetty jar, the tomcat can not be started. As a result, it will be nice to be 
able disable the web ui in local mode.

> Allow users to disable Jetty Spark UI in local mode
> ---------------------------------------------------
>
>                 Key: SPARK-2100
>                 URL: https://issues.apache.org/jira/browse/SPARK-2100
>             Project: Spark
>          Issue Type: Improvement
>            Reporter: DB Tsai
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to