You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2017/07/12 18:18:00 UTC

[jira] [Updated] (YARN-3260) NPE if AM attempts to register before RM processes launch event

     [ https://issues.apache.org/jira/browse/YARN-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bibin A Chundatt updated YARN-3260:
-----------------------------------
    Attachment: YARN-3260.001.patch

Attaching patch as per the discussion in YARN-6803.
{quote}
As per YARN-1214 if client token is send to client before credentials are saved is problematic.
So the fix could be to move the client masterkey setting to AttemptStoredTransition before launch call and for UnmanagedAM in UnmanagedAMAttemptSavedTransition.

{quote}

> NPE if AM attempts to register before RM processes launch event
> ---------------------------------------------------------------
>
>                 Key: YARN-3260
>                 URL: https://issues.apache.org/jira/browse/YARN-3260
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.6.0
>            Reporter: Jason Lowe
>         Attachments: YARN-3260.001.patch
>
>
> The RM on one of our clusters was running behind on processing AsyncDispatcher events, and this caused AMs to fail to register due to an NPE.  The AM was launched and attempting to register before the RMAppAttemptImpl had processed the LAUNCHED event, and the client to AM token had not been generated yet.  The NPE occurred because the ApplicationMasterService tried to encode the missing token.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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