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

Block should be placed in the client's 'rack-local' node if 'client-local' node is not available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • namenode
    • None
    • Reviewed

    Description

      HDFS cluster is rack aware.
      Client is in different node than of datanode,
      but Same rack contains one or more datanodes.

      In this case first preference should be given to select 'rack-local' node.

      Currently, since no Node in clusterMap corresponds to client's location, blockplacement policy choosing a random node as local node and proceeding for further placements.

      Attachments

        1. HDFS-6995-001.patch
          13 kB
          Vinayakumar B
        2. HDFS-6995-002.patch
          15 kB
          Vinayakumar B
        3. HDFS-6995-003.patch
          15 kB
          Vinayakumar B
        4. HDFS-6995-004.patch
          16 kB
          Vinayakumar B
        5. HDFS-6995-005.patch
          17 kB
          Vinayakumar B
        6. HDFS-6995-006.patch
          17 kB
          Vinayakumar B
        7. HDFS-6995-007.patch
          17 kB
          Vinayakumar B

        Issue Links

          Activity

            People

              vinayakumarb Vinayakumar B
              vinayakumarb Vinayakumar B
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: