[
https://issues.apache.org/jira/browse/HDFS-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017043#comment-13017043
]
Jitendra Nath Pandey commented on HDFS-1813:
--------------------------------------------
The problem #2 is related to federation, but others exist in trunk also. I will
first fix it in federation branch. I will mark this jira for federation branch.
> Authentication using BlockToken in RPC to datanode fails.
> ---------------------------------------------------------
>
> Key: HDFS-1813
> URL: https://issues.apache.org/jira/browse/HDFS-1813
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Jitendra Nath Pandey
> Assignee: Jitendra Nath Pandey
>
> Several issues are causing this problem
> 1. The last LocatedBlock returned by getBlockLocations doesn't have
> BlockToken.
> 2. The blockPoolTokenSecretManager is not initialized before created rpc
> server in datanode.
> 3. The getReplicaVisibleLength API in datanode expects WRITE permission in
> the block token, but the block tokens are generated with read permission only
> in getBlockLocations at namenode.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira