MAPREDUCE-4050. For tasks without assigned containers, changes the node text on the UI to N/A instead of a link to null. (Contributed by Bhallamudi Venkata Siva Kamesh)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1325435 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
72406e940a
commit
ecb30a48c4
@ -325,6 +325,10 @@ Release 0.23.3 - UNRELEASED
|
|||||||
MAPREDUCE-4140. mapreduce classes incorrectly importing
|
MAPREDUCE-4140. mapreduce classes incorrectly importing
|
||||||
"clover.org.apache.*" classes. (Patrick Hunt via tomwhite)
|
"clover.org.apache.*" classes. (Patrick Hunt via tomwhite)
|
||||||
|
|
||||||
|
MAPREDUCE-4050. For tasks without assigned containers, changes the node
|
||||||
|
text on the UI to N/A instead of a link to null. (Bhallamudi Venkata Siva
|
||||||
|
Kamesh via sseth)
|
||||||
|
|
||||||
Release 0.23.2 - UNRELEASED
|
Release 0.23.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -87,9 +87,13 @@ protected void render(Block html) {
|
|||||||
tr().
|
tr().
|
||||||
td(".id", taid).
|
td(".id", taid).
|
||||||
td(".progress", progress).
|
td(".progress", progress).
|
||||||
td(".state", ta.getState()).
|
td(".state", ta.getState()).td();
|
||||||
td().
|
if (nodeHttpAddr == null) {
|
||||||
a(".nodelink", url("http://", nodeHttpAddr), nodeHttpAddr);
|
nodeTd._("N/A");
|
||||||
|
} else {
|
||||||
|
nodeTd.
|
||||||
|
a(".nodelink", url("http://", nodeHttpAddr), nodeHttpAddr);
|
||||||
|
}
|
||||||
if (containerId != null) {
|
if (containerId != null) {
|
||||||
String containerIdStr = ta.getAssignedContainerIdStr();
|
String containerIdStr = ta.getAssignedContainerIdStr();
|
||||||
nodeTd._(" ").
|
nodeTd._(" ").
|
||||||
|
Loading…
Reference in New Issue
Block a user