[ https://issues.apache.org/jira/browse/YARN-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864516#comment-13864516 ]
Xuan Gong commented on YARN-1410: --------------------------------- Have offline discussion with Bikas and Vinod. The approach we will use is to make RM accept the appId in the context. Assume that RM1 assign an applicationId, say Application_12345_1. Before the app is accepted, the failover happens. Now, RM2 becomes active, the RM2 will re-use the same applicationId Application_12345_1 (instead of assigning a new appId) to submitApplication. > Handle client failover during 2 step client API's like app submission > --------------------------------------------------------------------- > > Key: YARN-1410 > URL: https://issues.apache.org/jira/browse/YARN-1410 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Bikas Saha > Assignee: Xuan Gong > Attachments: YARN-1410.1.patch > > > App submission involves > 1) creating appId > 2) using that appId to submit an ApplicationSubmissionContext to the user. > The client may have obtained an appId from an RM, the RM may have failed > over, and the client may submit the app to the new RM. > Since the new RM has a different notion of cluster timestamp (used to create > app id) the new RM may reject the app submission resulting in unexpected > failure on the client side. > The same may happen for other 2 step client API operations. -- This message was sent by Atlassian JIRA (v6.1.5#6160)