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

Increase the timeout of TestZKFailoverController

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0, 3.0.0-alpha1
    • Fix Version/s: 2.8.0, 2.7.4, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Environment:

      Jenkins

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Running org.apache.hadoop.ha.TestZKFailoverController
      Tests run: 19, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 56.875 sec <<< FAILURE! - in org.apache.hadoop.ha.TestZKFailoverController
      testGracefulFailover(org.apache.hadoop.ha.TestZKFailoverController)  Time elapsed: 25.045 sec  <<< ERROR!
      java.lang.Exception: test timed out after 25000 milliseconds
      	at java.lang.Object.wait(Native Method)
      	at org.apache.hadoop.ha.ZKFailoverController.waitForActiveAttempt(ZKFailoverController.java:467)
      	at org.apache.hadoop.ha.ZKFailoverController.doGracefulFailover(ZKFailoverController.java:657)
      	at org.apache.hadoop.ha.ZKFailoverController.access$400(ZKFailoverController.java:61)
      	at org.apache.hadoop.ha.ZKFailoverController$3.run(ZKFailoverController.java:602)
      	at org.apache.hadoop.ha.ZKFailoverController$3.run(ZKFailoverController.java:599)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:415)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1621)
      	at org.apache.hadoop.ha.ZKFailoverController.gracefulFailoverToYou(ZKFailoverController.java:599)
      	at org.apache.hadoop.ha.ZKFCRpcServer.gracefulFailover(ZKFCRpcServer.java:94)
      	at org.apache.hadoop.ha.TestZKFailoverController.testGracefulFailover(TestZKFailoverController.java:448)
      
      
      Results :
      
      Tests in error:
        TestZKFailoverController.testGracefulFailover:448->Object.wait:-2 ยป  test time...
      

      Running on centos6.5

        Attachments

        1. HADOOP-11149-001.patch
          30 kB
          Steve Loughran
        2. HADOOP-11149-002.patch
          31 kB
          Steve Loughran

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              rajatjain Rajat Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: