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

Add test case for incorrect data node condition during balancing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.6.0
    • balancer & mover
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: