hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun D (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9672) mapr (auth:CUSTOM) is not authorized for protocol interface org.apache.hadoop.yarn.server.api.ResourceTrackerPB
Date Fri, 12 Jul 2019 06:20:00 GMT
Varun D created YARN-9672:
-----------------------------

             Summary: mapr (auth:CUSTOM) is not authorized for protocol interface org.apache.hadoop.yarn.server.api.ResourceTrackerPB
                 Key: YARN-9672
                 URL: https://issues.apache.org/jira/browse/YARN-9672
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
    Affects Versions: 2.7.0
         Environment: MapR 5.2.1 YARN 2.7.0

Resourcemanager running on 3 nodes

Nodemanager running on 3 nodes
            Reporter: Varun D
             Fix For: 2.7.0


I am implementing kerbros for YARN on MapR 5.2.1. I am getting the below error frequently
on resourcemanager and nodemanager.  

LOG - nodemanager.log 

2019-07-12 08:15:02,384 FATAL org.apache.hadoop.yarn.server.nodemanager.NodeManager: Error
starting NodeManager
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: org.apache.hadoop.security.authorize.AuthorizationException:
User yarn (auth:CUSTOM) is not authorized for protocol interface org.apache.hadoop.yarn.server.api.ResourceTrackerPB,
expected client Kerberos principal is yarn/testbed@KERBEROS_IMP
 at org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl.serviceStart(NodeStatusUpdaterImpl.java:230)
 at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
 at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
 at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceStart(NodeManager.java:267)
 at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
 at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:477)
 at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:524)
Caused by: org.apache.hadoop.security.authorize.AuthorizationException: User yarn (auth:CUSTOM)
is not authorized for protocol interface org.apache.hadoop.yarn.server.api.ResourceTrackerPB,
expected client Kerberos principal is yarn/testbed@KERBEROS_IMP
 at sun.reflect.GeneratedConstructorAccessor22.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
 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.server.api.impl.pb.client.ResourceTrackerPBClientImpl.registerNodeManager(ResourceTrackerPBClientImpl.java:70)
 at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:252)
 at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)
 at com.sun.proxy.$Proxy29.registerNodeManager(Unknown Source)
 at org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl.registerWithRM(NodeStatusUpdaterImpl.java:290)
 at org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl.serviceStart(NodeStatusUpdaterImpl.java:224)
 ... 6 more
Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException):
User yarn (auth:CUSTOM) is not authorized for protocol interface org.apache.hadoop.yarn.server.api.ResourceTrackerPB,
expected client Kerberos principal is yarn/testbed@KERBEROS_IMP
 at org.apache.hadoop.ipc.Client.call(Client.java:1478)
 at org.apache.hadoop.ipc.Client.call(Client.java:1409)
 at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
 at com.sun.proxy.$Proxy28.registerNodeManager(Unknown Source)
 at org.apache.hadoop.yarn.server.api.impl.pb.client.ResourceTrackerPBClientImpl.registerNodeManager(ResourceTrackerPBClientImpl.java:68)
 ... 14 more
2019-07-12 08:15:02,386 INFO org.apache.hadoop.yarn.server.nodemanager.NodeManager: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NodeManager at testbed/10.10.10.1
************************************************************/



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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


Mime
View raw message