Fengnan Li created HDFS-16483:
---------------------------------

             Summary: RBF: DataNode talk to Router requesting block info in 
WebHDFS
                 Key: HDFS-16483
                 URL: https://issues.apache.org/jira/browse/HDFS-16483
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: webhdfs
            Reporter: Fengnan Li
            Assignee: Fengnan Li


In Webhdfs, before router redirects the OPEN call to datanode, it will attach 
the namenoderpcaddress param. When Datanode WebHdfsHandler takes the call, it 
will construct a DFSClient based on the ip address, which is pointing to Router.

This is OK when Router and Datanode are both secure or nonsecure. However when 
DN is not but Router is secure, there will be 
org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not 
enabled.  Available:[TOKEN, KERBEROS]]
Comments are welcome in terms of how to fix this.

One way is to always make Datanode construct the DFSClient based on the default 
FS since the default FS is always the Namenode in the same cluster which should 
is with the same security setting as Datanode.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to