[ https://issues.apache.org/jira/browse/HDFS-15423?focusedWorklogId=532751&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-532751 ]
ASF GitHub Bot logged work on HDFS-15423: ----------------------------------------- Author: ASF GitHub Bot Created on: 07/Jan/21 22:38 Start Date: 07/Jan/21 22:38 Worklog Time Spent: 10m Work Description: fengnanli opened a new pull request #2605: URL: https://github.com/apache/hadoop/pull/2605 ## NOTICE Please create an issue in ASF JIRA before opening a pull request, and you need to set the title of the pull request which starts with the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.) For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 532751) Remaining Estimate: 0h Time Spent: 10m > 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, webhdfs > Reporter: Chao Sun > Assignee: Fengnan Li > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org