Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14637

GenericTestUtils.waitFor needs to check condition again after max wait time

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart
      testRMRestartWaitForPreviousAMToFinish(org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart)  Time elapsed: 23.718 sec  <<< ERROR!
      java.lang.IllegalArgumentException: Total wait time should be greater than check interval time
      	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
      	at org.apache.hadoop.test.GenericTestUtils.waitFor(GenericTestUtils.java:341)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartWaitForPreviousAMToFinish(TestRMRestart.java:618)
      

        Attachments

        1. HADOOP-14637.001.patch
          1 kB
          Daniel Templeton
        2. HADOOP-14637.002.patch
          2 kB
          Daniel Templeton
        3. HADOOP-14637.003.patch
          5 kB
          Daniel Templeton
        4. HADOOP-14637.004.patch
          4 kB
          Daniel Templeton
        5. HADOOP-14637.005.patch
          2 kB
          Daniel Templeton

          Issue Links

            Activity

              People

              • Assignee:
                templedf Daniel Templeton
                Reporter:
                templedf Daniel Templeton
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: