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

TestBalancer waits forever, errs without giving information

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.23.0
    • Component/s: datanode, namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In three locations in the code, TestBalancer waits forever on a condition. Failures result in Hudson/Jenkins "Timeout occurred" error message with no information about where or why. Need to replace with TimeoutExceptions that throw a stack trace and useful info about the failure mode.

      In waitForHeartBeat(), it is waiting on an exact match for a value that may be coarsely quantized – i.e., significant deviation from the exact "expected" result may occur. Replace with an allowed range of result.

        Attachments

        1. 1808_TestBalancer_v3.patch
          9 kB
          Matt Foley
        2. 1808_TestBalancer_v4.patch
          8 kB
          Matt Foley
        3. TestBalancer.java.patch
          8 kB
          Matt Foley

          Activity

            People

            • Assignee:
              mattf Matt Foley
              Reporter:
              mattf Matt Foley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: