Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-6627 Rename DataNode#checkWriteAccess to checkReadAccess.
- Closed