[ https://issues.apache.org/jira/browse/HDDS-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769581#comment-16769581 ]
Xiaoyu Yao commented on HDDS-1110: ---------------------------------- {quote}FTR: After the initialization of kerberos I got a NPE from ozoneManager but it's an independent problem) {quote} NPE issue tracked by HDDS-1111, I think it will be fixed as part of HDDS-134. cc: [~ajakumar] > OzoneManager need to login during init when security is enabled. > ---------------------------------------------------------------- > > Key: HDDS-1110 > URL: https://issues.apache.org/jira/browse/HDDS-1110 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Xiaoyu Yao > Assignee: Xiaoyu Yao > Priority: Major > Attachments: HDDS-1110.01.patch > > > HDDS-776/HDDS-972 changed when the om login code. > Now the OM#init() may invoke SCM#getScmInfo() without a login, which failed > with the following. This ticket is opened to fix it. > > {code} > ozoneManager_1 | java.io.IOException: DestHost:destPort scm:9863 , > LocalHost:localPort om/172.19.0.4:0. Failed on local exception: > java.io.IOException: org.apache.hadoop.security.AccessControlException: > Client cannot authenticate via:[KERBEROS] > ozoneManager_1 | at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > ozoneManager_1 | at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > ozoneManager_1 | at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > ozoneManager_1 | at > java.lang.reflect.Constructor.newInstance(Constructor.java:423) > ozoneManager_1 | at > org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:831) > ozoneManager_1 | at > org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:806) > ozoneManager_1 | at > org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1515) > ozoneManager_1 | at org.apache.hadoop.ipc.Client.call(Client.java:1457) > ozoneManager_1 | at org.apache.hadoop.ipc.Client.call(Client.java:1367) > ozoneManager_1 | at > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228) > ozoneManager_1 | at > org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116) > ozoneManager_1 | at com.sun.proxy.$Proxy28.getScmInfo(Unknown Source) > ozoneManager_1 | at > org.apache.hadoop.hdds.scm.protocolPB.ScmBlockLocationProtocolClientSideTranslatorPB.getScmInfo(ScmBlockLocationProtocolClientSideTranslatorPB.java:154) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.lambda$getScmInfo$1(OzoneManager.java:910) > ozoneManager_1 | at > org.apache.hadoop.utils.RetriableTask.call(RetriableTask.java:56) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.getScmInfo(OzoneManager.java:911) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.omInit(OzoneManager.java:873) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:842) > ozoneManager_1 | at > org.apache.hadoop.ozone.om.OzoneManager.main(OzoneManager.java:771) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org