Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15423

RBF: WebHDFS create shouldn't choose DN from all sub-clusters

    XMLWordPrintableJSON

Details

    • 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

          Activity

            People

              fengnanli Fengnan Li
              csun Chao Sun
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7.5h
                  7.5h