title: What is the difference between web UIs on 4040 and 8080?
body: <p>There are two different web UIs (one is for standalone mode only). Can I use web UI on port 4040 when I am launching Spark in standalone mode? (example:<code>spark-class.cmd org.apache.spark.deploy.master.Master</code>- web ui 8080 is working, 4040 - not.) What is the main difference between these UIs?</p>
  
  <p>Is it possible for me to launch Spark (without hadoop, hdfs, yarn etc), to keep it up and to submit my jars(classes) into it? I want to watch job statistics after it finishes. I am trying something like this:</p>
  
  <pre><code>Server: Spark\bin&gt;spark-class.cmd org.apache.spark.deploy.master.Master
  Worker: Spark\bin&gt;spark-class.cmd org.apache.spark.deploy.worker.Worker spark://169.254.8.45:7077 --cores 4 --memory 512M
  Submit: Spark\bin&gt;spark-submit.cmd --class demo.TreesSample --master spark://169.254.8.45:7077 file:///E:/spark-demo/target/demo.jar
  </code></pre>
  
  <p>It runs. It gets new WebUI on port 4040 up for this task. I dont see anything in Master's ui on 8080.</p>
  
  <p>Currently I'm using win7 x64, spark-1.5.2-bin-hadoop2.6. I can switch into linux if it matters.</p>