YARN-3716. Node-label-expression should be included by ResourceRequestPBImpl.toString. (Xianyin Xin via wangda)

(cherry picked from commit 788bfa0359)
This commit is contained in:
Wangda Tan 2015-05-28 16:34:18 -07:00
parent 148412bb30
commit 2fb794ecaf
2 changed files with 5 additions and 1 deletions

View File

@ -413,6 +413,9 @@ Release 2.8.0 - UNRELEASED
YARN-3632. Ordering policy should be allowed to reorder an application when
demand changes. (Craig Welch via jianhe)
YARN-3716. Node-label-expression should be included by
ResourceRequestPBImpl.toString. (Xianyin Xin via wangda)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -184,7 +184,8 @@ public class ResourceRequestPBImpl extends ResourceRequest {
return "{Priority: " + getPriority() + ", Capability: " + getCapability()
+ ", # Containers: " + getNumContainers()
+ ", Location: " + getResourceName()
+ ", Relax Locality: " + getRelaxLocality() + "}";
+ ", Relax Locality: " + getRelaxLocality()
+ ", Node Label Expression: " + getNodeLabelExpression() + "}";
}
@Override