merge YARN-385 from trunk. Add missing fields - location and #containers to ResourceRequestPBImpl's toString(). Contributed by Sandy Ryza.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1443704 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
035d367933
commit
41c3449751
|
@ -15,6 +15,9 @@ Release 2.0.4-beta - UNRELEASED
|
||||||
YARN-383. AMRMClientImpl should handle null rmClient in stop()
|
YARN-383. AMRMClientImpl should handle null rmClient in stop()
|
||||||
(Hitesh Shah via sseth)
|
(Hitesh Shah via sseth)
|
||||||
|
|
||||||
|
YARN-385. Add missing fields - location and #containers to
|
||||||
|
ResourceRequestPBImpl's toString(). (Sandy Ryza via sseth)
|
||||||
|
|
||||||
Release 2.0.3-alpha - 2013-02-06
|
Release 2.0.3-alpha - 2013-02-06
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -166,6 +166,7 @@ public class ResourceRequestPBImpl extends ResourceRequest {
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "{Priority: " + getPriority() + ", Capability: " + getCapability()
|
return "{Priority: " + getPriority() + ", Capability: " + getCapability()
|
||||||
+ "}";
|
+ ", # Containers: " + getNumContainers()
|
||||||
|
+ ", Location: " + getHostName() + "}";
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue