YARN-3888. ApplicationMaster link is broken in RM WebUI when appstate is
NEW. Contributed by Bibin A Chundatt
(cherry picked from commit 5214876792
)
This commit is contained in:
parent
66419d3672
commit
2a01495544
|
@ -559,6 +559,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-3892. Fixed NPE on RMStateStore#serviceStop when
|
YARN-3892. Fixed NPE on RMStateStore#serviceStop when
|
||||||
CapacityScheduler#serviceInit fails. (Bibin A Chundatt via jianhe)
|
CapacityScheduler#serviceInit fails. (Bibin A Chundatt via jianhe)
|
||||||
|
|
||||||
|
YARN-3888. ApplicationMaster link is broken in RM WebUI when appstate is NEW.
|
||||||
|
(Bibin A Chundatt via xgong)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -131,13 +131,15 @@ public class RMAppsBlock extends AppsBlock {
|
||||||
|
|
||||||
String trackingURL =
|
String trackingURL =
|
||||||
app.getTrackingUrl() == null
|
app.getTrackingUrl() == null
|
||||||
|| app.getTrackingUrl().equals(UNAVAILABLE) ? null : app
|
|| app.getTrackingUrl().equals(UNAVAILABLE)
|
||||||
.getTrackingUrl();
|
|| app.getAppState() == YarnApplicationState.NEW ? null : app
|
||||||
|
.getTrackingUrl();
|
||||||
|
|
||||||
String trackingUI =
|
String trackingUI =
|
||||||
app.getTrackingUrl() == null
|
app.getTrackingUrl() == null
|
||||||
|| app.getTrackingUrl().equals(UNAVAILABLE) ? "Unassigned" : app
|
|| app.getTrackingUrl().equals(UNAVAILABLE)
|
||||||
.getAppState() == YarnApplicationState.FINISHED
|
|| app.getAppState() == YarnApplicationState.NEW ? "Unassigned"
|
||||||
|
: app.getAppState() == YarnApplicationState.FINISHED
|
||||||
|| app.getAppState() == YarnApplicationState.FAILED
|
|| app.getAppState() == YarnApplicationState.FAILED
|
||||||
|| app.getAppState() == YarnApplicationState.KILLED ? "History"
|
|| app.getAppState() == YarnApplicationState.KILLED ? "History"
|
||||||
: "ApplicationMaster";
|
: "ApplicationMaster";
|
||||||
|
|
Loading…
Reference in New Issue