YARN-8082. Include LocalizedResource size information in the NM download log for localization. Contributed by Kuhu Shukla

This commit is contained in:
Jason Lowe 2018-04-02 10:38:13 -05:00
parent dde1579096
commit 54a81211ea
1 changed files with 2 additions and 2 deletions

View File

@ -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 {