Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
In RouterWebHdfsMethods and for a CREATE call, chooseDatanode first gets all DNs via getDatanodeReport, and then randomly pick one from the list via getRandomDatanode. This logic doesn't seem correct as it should pick a DN for the specific cluster(s) of the input path.
Attachments
Issue Links
- fixes
-
HDFS-15878 RBF: Fix TestRouterWebHDFSContractCreate#testSyncable
- Resolved
- relates to
-
HDFS-15884 RBF: Remove unused method getCreateLocation in RouterRpcServer
- Resolved
- links to
(1 links to)