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
|
||||
"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
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -87,9 +87,13 @@ public class TaskPage extends AppView {
|
|||
tr().
|
||||
td(".id", taid).
|
||||
td(".progress", progress).
|
||||
td(".state", ta.getState()).
|
||||
td().
|
||||
a(".nodelink", url("http://", nodeHttpAddr), nodeHttpAddr);
|
||||
td(".state", ta.getState()).td();
|
||||
if (nodeHttpAddr == null) {
|
||||
nodeTd._("N/A");
|
||||
} else {
|
||||
nodeTd.
|
||||
a(".nodelink", url("http://", nodeHttpAddr), nodeHttpAddr);
|
||||
}
|
||||
if (containerId != null) {
|
||||
String containerIdStr = ta.getAssignedContainerIdStr();
|
||||
nodeTd._(" ").
|
||||
|
|
Loading…
Reference in New Issue