hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4325) Nodemanager log handlers fail to send finished/failed events in some cases
Date Fri, 11 Aug 2017 23:40:01 GMT

    [ https://issues.apache.org/jira/browse/YARN-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124276#comment-16124276

Junping Du commented on YARN-4325:

[~mingma] said they hit similar issue in Twitter as well. We may need to backport it to 2.7.x
as well. CC [~mingma], [~jlowe].

> Nodemanager log handlers fail to send finished/failed events in some cases
> --------------------------------------------------------------------------
>                 Key: YARN-4325
>                 URL: https://issues.apache.org/jira/browse/YARN-4325
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Junping Du
>            Assignee: Junping Du
>            Priority: Critical
>             Fix For: 2.8.0, 3.0.0-alpha1
>         Attachments: ApplicationImpl.PNG, YARN-4325.patch, YARN-4325-v1.1.patch, YARN-4325-v1.patch,
YARN-4325-v2.patch, YARN-4325-v3.1.patch, YARN-4325-v3.patch, YARN-4325-v4.1.patch, YARN-4325-v4.patch
> From a long running cluster, we found tens of thousands of stale apps still be recovered
in NM restart recovery. 
> After investigating, there are three issues cause app state leak in NM state-store:
> 1. APPLICATION_LOG_HANDLING_FAILED is not handled with remove App in NMStateStore.
> 2. APPLICATION_LOG_HANDLING_FAILED event is missing in sent when hit aggregator's doAppLogAggregation()
exception case.
> 3. Only Application in FINISHED status receiving APPLICATION_LOG_FINISHED has transition
to remove app in NM state store. Application in other status - like APPLICATION_RESOURCES_CLEANUP
will ignore the event and later forget to remove this app from NM state store even after app
get finished.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message