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

Consider DataNode load when #getBlockLocation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: namenode
    • Labels:
      None

      Description

      Currently, we consider load of datanode when #chooseTarget for writer, however not consider it for reader. Thus, the process slot of datanode could be occupied by #BlockSender for reader, and disk/network will be busy workload, then meet some slow node exception. IIRC same case is reported times. Based on the fact, I propose to consider load for reader same as it did #chooseTarget for writer.

        Attachments

        1. HDFS-14882.001.patch
          7 kB
          Xiaoqiao He
        2. HDFS-14882.002.patch
          7 kB
          Xiaoqiao He
        3. HDFS-14882.003.patch
          8 kB
          Xiaoqiao He
        4. HDFS-14882.004.patch
          11 kB
          Xiaoqiao He
        5. HDFS-14882.005.patch
          10 kB
          Xiaoqiao He
        6. HDFS-14882.006.patch
          10 kB
          Xiaoqiao He
        7. HDFS-14882.007.patch
          10 kB
          Xiaoqiao He
        8. HDFS-14882.008.patch
          10 kB
          Xiaoqiao He
        9. HDFS-14882.009.patch
          13 kB
          Xiaoqiao He
        10. HDFS-14882.010.patch
          18 kB
          Xiaoqiao He
        11. HDFS-14882.suggestion
          15 kB
          István Fajth

          Issue Links

            Activity

              People

              • Assignee:
                hexiaoqiao Xiaoqiao He
                Reporter:
                hexiaoqiao Xiaoqiao He
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: