You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nie Gus (JIRA)" <ji...@apache.org> on 2018/08/02 05:58:00 UTC

[jira] [Created] (HADOOP-15648) AuthorizationException Protocol is not known - cased by acl not config. set default acl to *

Nie Gus created HADOOP-15648:
--------------------------------

             Summary: AuthorizationException Protocol is not known - cased by acl not config. set default acl to *
                 Key: HADOOP-15648
                 URL: https://issues.apache.org/jira/browse/HADOOP-15648
             Project: Hadoop Common
          Issue Type: Improvement
          Components: auth
            Reporter: Nie Gus


org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): Protocol interface org.apache.hadoop.hdfs.server.protocol.DatanodeLifelineProtocol is not known.

        at org.apache.hadoop.ipc.Client.call(Client.java:1426)

        at org.apache.hadoop.ipc.Client.call(Client.java:1363)

        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)

        at com.sun.proxy.$Proxy21.sendLifeline(Unknown Source)

        at org.apache.hadoop.hdfs.protocolPB.DatanodeLifelineProtocolClientSideTranslatorPB.sendLifeline(DatanodeLifelineProtocolClientSideTranslatorPB.java:100)

        at org.apache.hadoop.hdfs.server.datanode.BPServiceActor$LifelineSender.sendLifeline(BPServiceActor.java:953)

        at org.apache.hadoop.hdfs.server.datanode.BPServiceActor$LifelineSender.sendLifelineIfDue(BPServiceActor.java:937)

        at org.apache.hadoop.hdfs.server.datanode.BPServiceActor$LifelineSender.run(BPServiceActor.java:882)

        at java.lang.Thread.run(Thread.java:745)

 

 

no config for the protocal "org.apache.hadoop.hdfs.server.protocol.DatanodeLifelineProtocol" in policy, because the acl list is null cause this issue.

 
{code:java}
AccessControlList[] acls = protocolToAcls.get(protocol);

MachineList[] hosts = protocolToMachineLists.get(protocol);

if (acls == null || hosts == null) {

throw new AuthorizationException("Protocol " + protocol +

" is not known.");

}
{code}
suggest to allow all if the acl for this protocal is null.

{color:#000000} {color}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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