YARN-3516. killing ContainerLocalizer action doesn't take effect when
private localizer receives FETCH_FAILURE status. Contributed by zhihai xu
This commit is contained in:
parent
ac281e3fc8
commit
0b3f8957a8
|
@ -257,6 +257,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-3434. Interaction between reservations and userlimit can result in
|
YARN-3434. Interaction between reservations and userlimit can result in
|
||||||
significant ULF violation (tgraves)
|
significant ULF violation (tgraves)
|
||||||
|
|
||||||
|
YARN-3516. killing ContainerLocalizer action doesn't take effect when
|
||||||
|
private localizer receives FETCH_FAILURE status.(zhihai xu via xgong)
|
||||||
|
|
||||||
Release 2.7.1 - UNRELEASED
|
Release 2.7.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -989,7 +989,7 @@ public class ResourceLocalizationService extends CompositeService
|
||||||
case FETCH_FAILURE:
|
case FETCH_FAILURE:
|
||||||
final String diagnostics = stat.getException().toString();
|
final String diagnostics = stat.getException().toString();
|
||||||
LOG.warn(req + " failed: " + diagnostics);
|
LOG.warn(req + " failed: " + diagnostics);
|
||||||
response.setLocalizerAction(LocalizerAction.DIE);
|
action = LocalizerAction.DIE;
|
||||||
getLocalResourcesTracker(req.getVisibility(), user, applicationId)
|
getLocalResourcesTracker(req.getVisibility(), user, applicationId)
|
||||||
.handle(new ResourceFailedLocalizationEvent(
|
.handle(new ResourceFailedLocalizationEvent(
|
||||||
req, diagnostics));
|
req, diagnostics));
|
||||||
|
|
Loading…
Reference in New Issue