You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Sidharta Seethana (JIRA)" <ji...@apache.org> on 2015/02/19 02:09:12 UTC
[jira] [Created] (YARN-3221) Applications should be able to
're-register'
Sidharta Seethana created YARN-3221:
---------------------------------------
Summary: 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
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
(v6.3.4#6332)