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

This commit is contained in:
Wangda Tan 2015-05-28 16:34:18 -07:00
parent 9acd24fec4
commit 788bfa0359
2 changed files with 5 additions and 1 deletions

View File

@ -461,6 +461,9 @@ Release 2.8.0 - UNRELEASED
YARN-3632. Ordering policy should be allowed to reorder an application when YARN-3632. Ordering policy should be allowed to reorder an application when
demand changes. (Craig Welch via jianhe) 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 Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

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