YARN-8082. Include LocalizedResource size information in the NM download log for localization. Contributed by Kuhu Shukla
This commit is contained in:
parent
dde1579096
commit
54a81211ea
|
@ -204,8 +204,8 @@ public class LocalizedResource implements EventHandler<ResourceEvent> {
|
||||||
if (newState != null && oldState != newState) {
|
if (newState != null && oldState != newState) {
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug("Resource " + resourcePath + (localPath != null ?
|
LOG.debug("Resource " + resourcePath + (localPath != null ?
|
||||||
"(->" + localPath + ")": "") + " transitioned from " + oldState
|
"(->" + localPath + ")": "") + " size : " + getSize()
|
||||||
+ " to " + newState);
|
+ " transitioned from " + oldState + " to " + newState);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue