As I said. Each app gets their own UI. Look at the logs printed to the output. The port will depend on whether they're running on the same host at the same time.
This is irrespective of how they are run. On Mon, Jan 23, 2017 at 12:40 PM, kant kodali <kanth...@gmail.com> wrote: > yes I meant submitting through spark-submit. > > so If I do spark-submit A.jar and spark-submit A.jar again. Do I get two > UI's or one UI'? and which ports do they run on when using the stand alone > mode? > > On Mon, Jan 23, 2017 at 12:19 PM, Marcelo Vanzin <van...@cloudera.com> > wrote: >> >> Depends on what you mean by "job". Which is why I prefer "app", which >> is clearer (something you submit using "spark-submit", for example). >> >> But really, I'm not sure what you're asking now. >> >> On Mon, Jan 23, 2017 at 12:15 PM, kant kodali <kanth...@gmail.com> wrote: >> > hmm..I guess in that case my assumption of "app" is wrong. I thought the >> > app >> > is a client jar that you submit. no? If so, say I submit multiple jobs >> > then >> > I get two UI'S? >> > >> > On Mon, Jan 23, 2017 at 12:07 PM, Marcelo Vanzin <van...@cloudera.com> >> > wrote: >> >> >> >> No. Each app has its own UI which runs (starting on) port 4040. >> >> >> >> On Mon, Jan 23, 2017 at 12:05 PM, kant kodali <kanth...@gmail.com> >> >> wrote: >> >> > I am using standalone mode so wouldn't be 8080 for my app web ui as >> >> > well? >> >> > There is nothing running on 4040 in my cluster. >> >> > >> >> > >> >> > http://spark.apache.org/docs/latest/security.html#standalone-mode-only >> >> > >> >> > On Mon, Jan 23, 2017 at 11:51 AM, Marcelo Vanzin >> >> > <van...@cloudera.com> >> >> > wrote: >> >> >> >> >> >> That's the Master, whose default port is 8080 (not 4040). The >> >> >> default >> >> >> port for the app's UI is 4040. >> >> >> >> >> >> On Mon, Jan 23, 2017 at 11:47 AM, kant kodali <kanth...@gmail.com> >> >> >> wrote: >> >> >> > I am not sure why Spark web UI keeps changing its port every time >> >> >> > I >> >> >> > restart >> >> >> > a cluster? how can I make it run always on one port? I did make >> >> >> > sure >> >> >> > there >> >> >> > is no process running on 4040(spark default web ui port) however >> >> >> > it >> >> >> > still >> >> >> > starts at 8080. any ideas? >> >> >> > >> >> >> > >> >> >> > MasterWebUI: Bound MasterWebUI to 0.0.0.0, and started at >> >> >> > http://x.x.x.x:8080 >> >> >> > >> >> >> > >> >> >> > Thanks! >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Marcelo >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> Marcelo >> > >> > >> >> >> >> -- >> Marcelo > > -- Marcelo --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org