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

Add test case for incorrect data node condition during balancing

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.6.0
    • Component/s: balancer & mover
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The Balancer makes a check to see if a block's location is a known data node. But the variable it uses to check is wrong. This issue was fixed in HDFS-6364.
      There was no way to easily unit test it at that time. Since HDFS-6441 enables one to simulate this case, it was decided to add the unit test once HDFS-6441 is resolved.

        Attachments

        1. HDFS-6798.patch
          3 kB
          Benoy Antony

          Issue Links

            Activity

              People

              • Assignee:
                benoyantony Benoy Antony
                Reporter:
                benoyantony Benoy Antony
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: