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 "Yesha Vora (JIRA)" <ji...@apache.org> on 2016/07/20 17:57:20 UTC

[jira] [Created] (YARN-5405) Running yarn application should fail fast if RM get Kerberized after RM restart

Yesha Vora created YARN-5405:
--------------------------------

             Summary: Running yarn application should fail fast if RM get Kerberized after RM restart
                 Key: YARN-5405
                 URL: https://issues.apache.org/jira/browse/YARN-5405
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
            Reporter: Yesha Vora


Scenario:

* Start YARN in unsecure mode. (Make sure RM and NM recovery is enabled)
* Start yarn application 
* Enable YARN in secure mode and restart RM

The yarn application is expected to fail fast. Instead, RM tries to recover this application and gets Null pointer exception. It also marks application as succeeded instead failed. 

{code}
2016-07-15 06:47:09,804 WARN  ipc.Server (Server.java:logException(2399)) - IPC Server handler 2 on 8030, call org.apache.hadoop.yarn.api.ApplicationMasterProtocolPB.registerApplicationMaster from xx.xx.xx.xx:56888 Call#944 Retry#0
java.lang.NullPointerException
        at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService.registerApplicationMaster(ApplicationMasterService.java:300)
        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:640)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2313)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2309)
        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:1724)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2307)
2016-07-15 06:47:09,813 INFO  resourcemanager.ApplicationMasterService {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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