hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Botong Huang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6955) Handle concurrent register AM requests in FederationInterceptor
Date Tue, 08 Aug 2017 00:09:00 GMT

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

Botong Huang commented on YARN-6955:

Thanks [~subru]!

> Handle concurrent register AM requests in FederationInterceptor
> ---------------------------------------------------------------
>                 Key: YARN-6955
>                 URL: https://issues.apache.org/jira/browse/YARN-6955
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Botong Huang
>            Assignee: Botong Huang
>            Priority: Minor
>             Fix For: 3.0.0-beta1
>         Attachments: YARN-6955.v1.patch, YARN-6955.v2.patch
>  The timeout between AM and AMRMProxy is shorter than the timeout + failOver between
FederationInterceptor (AMRMProxy) and RM. When the first register thread in FI is blocked
because of an RM failover, AM can timeout and resend register call, leading to two outstanding
register call inside FI. 
> Eventually when RM comes back up, one thread succeeds register and the other thread got
an application already registered exception. FI should swallow the exception and return success
back to AM in both threads. 

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