YARN-3516. killing ContainerLocalizer action doesn't take effect when
private localizer receives FETCH_FAILURE status. Contributed by zhihai xu (cherry picked from commit0b3f8957a8
) (cherry picked from commit8f6053ae51
)
This commit is contained in:
parent
b5cc78e57e
commit
bec78f9b85
|
@ -38,6 +38,10 @@ Release 2.7.1 - UNRELEASED
|
|||
YARN-3465. Use LinkedHashMap to preserve order of resource requests.
|
||||
(Zhihai Xu via kasha)
|
||||
|
||||
YARN-3516. killing ContainerLocalizer action doesn't take effect when
|
||||
private localizer receives FETCH_FAILURE status.(zhihai xu via xgong)
|
||||
|
||||
|
||||
Release 2.7.0 - 2015-04-20
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -981,7 +981,7 @@ public class ResourceLocalizationService extends CompositeService
|
|||
case FETCH_FAILURE:
|
||||
final String diagnostics = stat.getException().toString();
|
||||
LOG.warn(req + " failed: " + diagnostics);
|
||||
response.setLocalizerAction(LocalizerAction.DIE);
|
||||
action = LocalizerAction.DIE;
|
||||
getLocalResourcesTracker(req.getVisibility(), user, applicationId)
|
||||
.handle(new ResourceFailedLocalizationEvent(
|
||||
req, diagnostics));
|
||||
|
|
Loading…
Reference in New Issue