YARN-385. 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/trunk@1443702 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bdfe23235e
commit
362da383fd
|
@ -29,6 +29,9 @@ Release 2.0.4-beta - UNRELEASED
|
|||
YARN-383. AMRMClientImpl should handle null rmClient in stop()
|
||||
(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
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -166,6 +166,7 @@ public class ResourceRequestPBImpl extends ResourceRequest {
|
|||
@Override
|
||||
public String toString() {
|
||||
return "{Priority: " + getPriority() + ", Capability: " + getCapability()
|
||||
+ "}";
|
||||
+ ", # Containers: " + getNumContainers()
|
||||
+ ", Location: " + getHostName() + "}";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue