YARN-8174. Add containerId to ResourceLocalizationService fetch failure log statement. Contributed by Prabhu Joseph.

This commit is contained in:
Abhishek Modi 2019-09-02 10:45:59 +05:30
parent bc27f7fb6d
commit b939ae98e6
1 changed files with 1 additions and 1 deletions

View File

@ -1185,7 +1185,7 @@ public class ResourceLocalizationService extends CompositeService
break;
case FETCH_FAILURE:
final String diagnostics = stat.getException().toString();
LOG.warn(req + " failed: " + diagnostics);
LOG.warn("{} failed for {} : {}", req, localizerId, diagnostics);
fetchFailed = true;
tracker.handle(new ResourceFailedLocalizationEvent(req,
diagnostics));