Uh oh!
There was an error while loading. Please reload this page.
[SPARK-16856] [WEBUI] [CORE] Link the application's executor page to the master's UI - #14461
[SPARK-16856] [WEBUI] [CORE] Link the application's executor page to the master's UI#14461nblintao wants to merge 8 commits into
Conversation
SparkQA
commented
Aug 2, 2016
Test build #63129 has finished for PR 14461 at commit
|
ajbozarth
commented
Aug 2, 2016
I take some time to check out and run this later today, but on a quick pass the code looks ok. I have some issues with the actual pr though. The link on the application summary page is redundant, clicking the spark logo goes back to the master summary already. As for the Executors page, I'll have to test it, but I think there are quite a few situations where a admin might not want a user to access the master UI, even in a standalone cluster. |
ajbozarth
commented
Aug 5, 2016
I forgot to comment, but I did check this out and it runs well, I still think the link on the app summary is redundant though. |
SparkQA
commented
Aug 6, 2016
Test build #63302 has finished for PR 14461 at commit
|
# Conflicts: # project/MimaExcludes.scala
nblintao
commented
Aug 6, 2016
@ajbozarth Thanks for pointing out that. I have removed the link on the application summary page and reverted related changes. |
nblintao
commented
Aug 6, 2016
retest it please |
SparkQA
commented
Aug 6, 2016
Test build #63303 has finished for PR 14461 at commit
|
SparkQA
commented
Aug 6, 2016
Test build #63306 has finished for PR 14461 at commit
|
nblintao
commented
Aug 6, 2016
I think I have fixed the conflict correctly. Why's that? |
ajbozarth
commented
Aug 6, 2016
The excludes are a list, you forgot to add commas between them |
nblintao
commented
Aug 6, 2016
Oh yes. Thanks :) |
SparkQA
commented
Aug 6, 2016
Test build #63308 has finished for PR 14461 at commit
|
ajbozarth
commented
Oct 13, 2016
@nblintao I'd like to take another look at this, mind rebasing? |
nblintao
commented
Dec 29, 2016
@ajbozarth I finally have a chance to rebase it in the winter break. Could you please have a look? Thanks! |
SparkQA
commented
Dec 29, 2016
Test build #70698 has finished for PR 14461 at commit
|
ajbozarth
commented
Jan 3, 2017
Thanks for rebasing, I'll check this out sometime this week |
ajbozarth
commented
Jan 18, 2017
@nblintao did you try this code on different cluster types? Like local, standalone, yarn, mesos? |
ajbozarth
commented
Jan 18, 2017
ajbozarth
commented
Jan 19, 2017
I did some testing and this properly shows up on local and standalone and doesn't show the link on yarn. So this LGTM |
| appAttemptId: Option[String], | ||
| driverLogs: Option[Map[String, String]] = None) extends SparkListenerEvent | ||
| driverLogs: Option[Map[String, String]] = None, | ||
| masterWebUiUrl: Option[String] = None) extends SparkListenerEvent |
There was a problem hiding this comment.
Do you need this? It seems the standalone registration messages already take care of this.
If you want this, are you intentionally not saving this in event logs? The way it is, this is only ever useful when the application is starting but hasn't yet registered with the master. That's a very short period of time and probably not worth it.
If you add code to save to event logs, I'd rename this to be more cluster manager-agnostic. e.g. "clusterWebUiUrl".
| private val listener = parent.listener | ||
| def render(request: HttpServletRequest): Seq[Node] = { | ||
| val masterWebUiUrl = listener.masterWebUiUrl |
There was a problem hiding this comment.
I think this information makes way more sense in the "Environment" tab.
HyukjinKwon
commented
Feb 9, 2017
(gentle ping @nblintao) |
@HyukjinKwon Thanks for reminding. I will have a look asap. Too many things to do recently. |
HyukjinKwon
commented
May 11, 2017
(gentle ping @nblintao) |
nblintao
commented
May 11, 2017
@HyukjinKwon Thanks for reminding. I am finals this week. I will fix this after 15th. |
# What changes were proposed in this pull request? This PR proposes to close stale PRs, mostly the same instances with apache#18017Closesapache#11459Closesapache#13833Closesapache#13720Closesapache#12506Closesapache#12456Closesapache#12252Closesapache#17689Closesapache#17791Closesapache#18163Closesapache#17640Closesapache#17926Closesapache#18163Closesapache#12506Closesapache#18044Closesapache#14036Closesapache#15831Closesapache#14461Closesapache#17638Closesapache#18222 Added: Closesapache#18045Closesapache#18061Closesapache#18010Closesapache#18041Closesapache#18124Closesapache#18130Closesapache#12217 Added: Closesapache#16291Closesapache#17480Closesapache#14995 Added: Closesapache#12835Closesapache#17141 ## How was this patch tested? N/A Author: hyukjinkwon <gurwls223@gmail.com> Closesapache#18223 from HyukjinKwon/close-stale-prs.
What changes were proposed in this pull request?
Added a "Back to Master" link on Executor Page of Application Detail UI, if the application is run in standalone mode.
The links link to the main page of Master UI.
How was this patch tested?
Run Spark as a "local cluster" by
./bin/spark-shell --master=local-cluster[2,1,1024].Then view the Executor Page on Application Detail UI (http://192.168.1.104:4040/executors/). Users could go to the Master Page by the link "Back to Master" on that page.