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

TestZKFailoverController#testNoZK is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • ha, test
    • None

    Description

      TestZKFailoverController#testNoZK failed in https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2397/4/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt

      [ERROR] testNoZK(org.apache.hadoop.ha.TestZKFailoverController)  Time elapsed: 0.114 s  <<< ERROR!
      java.lang.IllegalStateException
      	at org.apache.hadoop.thirdparty.com.google.common.base.Preconditions.checkState(Preconditions.java:492)
      	at org.apache.hadoop.ha.ActiveStandbyElector.parentZNodeExists(ActiveStandbyElector.java:318)
      	at org.apache.hadoop.ha.ZKFailoverController.doRun(ZKFailoverController.java:230)
      	at org.apache.hadoop.ha.ZKFailoverController.access$000(ZKFailoverController.java:60)
      	at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:178)
      	at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:174)
      	at org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:485)
      	at org.apache.hadoop.ha.ZKFailoverController.run(ZKFailoverController.java:174)
      	at org.apache.hadoop.ha.TestZKFailoverController.runFC(TestZKFailoverController.java:700)
      	at org.apache.hadoop.ha.TestZKFailoverController.testNoZK(TestZKFailoverController.java:135)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:80)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.lang.Thread.run(Thread.java:748)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: