You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chao Sun (Jira)" <ji...@apache.org> on 2020/06/20 01:52:00 UTC
[jira] [Created] (HDFS-15423) RBF: WebHDFS create shouldn't choose
DN from all sub-clusters
Chao Sun created HDFS-15423:
-------------------------------
Summary: RBF: WebHDFS create shouldn't choose DN from all sub-clusters
Key: HDFS-15423
URL: https://issues.apache.org/jira/browse/HDFS-15423
Project: Hadoop HDFS
Issue Type: Bug
Components: rbf
Reporter: Chao Sun
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}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org