YARN-4541. Change log message in LocalizedResource#handle() to DEBUG (rchiang via rkanter)
(cherry picked from commit 0d9194df00
)
This commit is contained in:
parent
d9d12b9e72
commit
e79a47670b
|
@ -200,9 +200,11 @@ public class LocalizedResource implements EventHandler<ResourceEvent> {
|
||||||
LOG.warn("Can't handle this event at current state", e);
|
LOG.warn("Can't handle this event at current state", e);
|
||||||
}
|
}
|
||||||
if (oldState != newState) {
|
if (oldState != newState) {
|
||||||
LOG.info("Resource " + resourcePath + (localPath != null ?
|
if (LOG.isDebugEnabled()) {
|
||||||
"(->" + localPath + ")": "") + " transitioned from " + oldState
|
LOG.debug("Resource " + resourcePath + (localPath != null ?
|
||||||
+ " to " + newState);
|
"(->" + localPath + ")": "") + " transitioned from " + oldState
|
||||||
|
+ " to " + newState);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
this.writeLock.unlock();
|
this.writeLock.unlock();
|
||||||
|
|
Loading…
Reference in New Issue