YARN-272. Fair scheduler log messages try to print objects without overridden toString methods. (sandyr via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1424988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0e9379a9f1
commit
cc2c01fc94
|
@ -126,6 +126,9 @@ Release 2.0.3-alpha - Unreleased
|
|||
YARN-271. Fair scheduler hits IllegalStateException trying to reserve
|
||||
different apps on same node. (Sandy Ryza via tomwhite)
|
||||
|
||||
YARN-272. Fair scheduler log messages try to print objects without
|
||||
overridden toString methods. (sandyr via tucu)
|
||||
|
||||
Release 2.0.2-alpha - 2012-09-07
|
||||
|
||||
YARN-9. Rename YARN_HOME to HADOOP_YARN_HOME. (vinodkv via acmurthy)
|
||||
|
|
|
@ -61,5 +61,10 @@ public class PriorityPBImpl extends Priority {
|
|||
maybeInitBuilder();
|
||||
builder.setPriority((priority));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Integer.valueOf(getPriority()).toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -198,6 +198,11 @@ public class RMContainerImpl implements RMContainer {
|
|||
return reservedPriority;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return containerId.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(RMContainerEvent event) {
|
||||
LOG.debug("Processing " + event.getContainerId() + " of type " + event.getType());
|
||||
|
@ -221,7 +226,7 @@ public class RMContainerImpl implements RMContainer {
|
|||
writeLock.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static class BaseTransition implements
|
||||
SingleArcTransition<RMContainerImpl, RMContainerEvent> {
|
||||
|
||||
|
|
Loading…
Reference in New Issue