[ https://issues.apache.org/jira/browse/YARN-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876118#comment-16876118 ]
wangxiangchun commented on YARN-3221: ------------------------------------- I encountered the same problem in yarn federation . when I enable the amrmProxy Ha ,I fail the first app attempt ,and it go to the sencond app attempt ,it has to register the UAM ,then this problem comes. > Applications should be able to 're-register' > --------------------------------------------- > > Key: YARN-3221 > URL: https://issues.apache.org/jira/browse/YARN-3221 > Project: Hadoop YARN > Issue Type: Improvement > Components: resourcemanager > Affects Versions: 2.6.0 > Reporter: Sidharta Seethana > Priority: Major > > Today, it is not possible for YARN applications to 're-register' in > failure/restart scenarios. This is especially problematic for Unmanaged > applications - when restarts (normal or otherwise) or other failures > necessitate the re-creation of the AMRMClient (along with a reset of the > internal RPC counter). The YARN RM disallows an attempt to register again > (with the same saved token) with the following exception shown below. This > should be fixed. > {quote} > rmClient.RegisterApplicationMaster > org.apache.hadoop.yarn.exceptions.InvalidApplicationMasterRequestException:Application > Master is already registered : application_1424304845861_0002 > at > org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService.registerApplicationMaster(ApplicationMasterService.java:264) > at > org.apache.hadoop.yarn.api.impl.pb.service.ApplicationMasterProtocolPBServiceImpl.registerApplicationMaster(ApplicationMasterProtocolPBServiceImpl.java:90) > at > org.apache.hadoop.yarn.proto.ApplicationMasterProtocol$ApplicationMasterProtocolService$2.callBlockingMethod(ApplicationMasterProtocol.java:95) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:619) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:962) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2039) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2035) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2033) > {quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org