YARN-3097. Logging of resource recovery on NM restart has redundancies. Contributed by Eric Payne
This commit is contained in:
parent
bb9ddef0e7
commit
8f65c793f2
|
@ -296,6 +296,8 @@ Release 2.8.0 - UNRELEASED
|
|||
YARN-1993. Cross-site scripting vulnerability in TextView.java. (Kenji Kikushima
|
||||
via ozawa)
|
||||
|
||||
YARN-3097. Logging of resource recovery on NM restart has redundancies
|
||||
(Eric Payne via jlowe)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
|
|
|
@ -303,8 +303,10 @@ public class ResourceLocalizationService extends CompositeService
|
|||
for (LocalizedResourceProto proto : state.getLocalizedResources()) {
|
||||
LocalResource rsrc = new LocalResourcePBImpl(proto.getResource());
|
||||
LocalResourceRequest req = new LocalResourceRequest(rsrc);
|
||||
LOG.info("Recovering localized resource " + req + " at "
|
||||
+ proto.getLocalPath());
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Recovering localized resource " + req + " at "
|
||||
+ proto.getLocalPath());
|
||||
}
|
||||
tracker.handle(new ResourceRecoveredEvent(req,
|
||||
new Path(proto.getLocalPath()), proto.getSize()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue