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 (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Resource " + resourcePath + (localPath != null ?
|
||||
"(->" + localPath + ")": "") + " transitioned from " + oldState
|
||||
+ " to " + newState);
|
||||
"(->" + localPath + ")": "") + " size : " + getSize()
|
||||
+ " transitioned from " + oldState + " to " + newState);
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue