Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2100

Allow users to disable Jetty Spark UI in local mode

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              dbtsai DB Tsai
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: