hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1577) Unmanaged AM is broken because of YARN-1493
Date Wed, 05 Feb 2014 06:32:09 GMT

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

Alejandro Abdelnur commented on YARN-1577:
------------------------------------------

the problem I'm seeing with YARN-1493 is when trying to register the UAM with the scheduler,
the exception I'm getting follows.

Reverting  YARN-1493 & friends makes this problem go away. 

The patches to revert, in order are:

YARN-1566
YARN-1041 
YARN-1166
YARN-1490
YARN-1493

{code}
2014-02-03 10:58:40,403 ERROR UserGroupInformation - PriviledgedActionException as:llama (auth:PROXY)
via tucu (auth:SIMPLE) cause:org.apache.hadoop.security.AccessControlException: SIMPLE authentication
is not enabled.  Available:[TOKEN]
2014-02-03 10:58:40,407 WARN  LlamaAMServiceImpl - Reserve() error: com.cloudera.llama.util.LlamaException:
AM_CANNOT_REGISTER - cannot register AM 'application_1391453743418_0001' for queue 'root.queue1'
: org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled.
 Available:[TOKEN]
com.cloudera.llama.util.LlamaException: AM_CANNOT_REGISTER - cannot register AM 'application_1391453743418_0001'
for queue 'root.queue1' : org.apache.hadoop.security.AccessControlException: SIMPLE authentication
is not enabled.  Available:[TOKEN]
…
Caused by: org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not
enabled.  Available:[TOKEN]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.apache.hadoop.yarn.ipc.RPCUtil.instantiateException(RPCUtil.java:53)
        at org.apache.hadoop.yarn.ipc.RPCUtil.unwrapAndThrowException(RPCUtil.java:104)
        at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationMasterProtocolPBClientImpl.registerApplicationMaster(ApplicationMasterProtocolPBClientImpl.java:109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
        at $Proxy12.registerApplicationMaster(Unknown Source)
        at org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.registerApplicationMaster(AMRMClientImpl.java:196)
        at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl.registerApplicationMaster(AMRMClientAsyncImpl.java:138)
        at com.cloudera.llama.am.yarn.YarnRMConnector._initYarnApp(YarnRMConnector.java:270)
        at com.cloudera.llama.am.yarn.YarnRMConnector.access$200(YarnRMConnector.java:80)
        at com.cloudera.llama.am.yarn.YarnRMConnector$3.run(YarnRMConnector.java:212)
        at com.cloudera.llama.am.yarn.YarnRMConnector$3.run(YarnRMConnector.java:209)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
        at com.cloudera.llama.am.yarn.YarnRMConnector.register(YarnRMConnector.java:209)
        ... 20 more
Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException):
SIMPLE authentication is not enabled.  Available:[TOKEN]
        at org.apache.hadoop.ipc.Client.call(Client.java:1406)
        at org.apache.hadoop.ipc.Client.call(Client.java:1359)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
        at $Proxy11.registerApplicationMaster(Unknown Source)
        at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationMasterProtocolPBClientImpl.registerApplicationMaster(ApplicationMasterProtocolPBClientImpl.java:106)
        ... 37 more
{code}



> Unmanaged AM is broken because of YARN-1493
> -------------------------------------------
>
>                 Key: YARN-1577
>                 URL: https://issues.apache.org/jira/browse/YARN-1577
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.3.0
>            Reporter: Jian He
>            Assignee: Jian He
>            Priority: Blocker
>
> Today unmanaged AM client is waiting for app state to be Accepted to launch the AM. This
is broken since we changed in YARN-1493 to start the attempt after the application is Accepted.
We may need to introduce an attempt state report that client can rely on to query the attempt
state and choose to launch the unmanaged AM.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message