Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS, mail # user - Test failed when compiling Trunk


Copy link to this message
-
Re: Test failed when compiling Trunk
Todd Lipcon 2012-07-29, 20:53
Hi Clement,

Can you try boosting the timeout for this test case to a higher value?
I wonder if your machine is just slower than the ones which we
developed the test on originally?

-Todd

On Sun, Jul 29, 2012 at 12:17 PM, Clement Jebakumar <[EMAIL PROTECTED]> wrote:
>
> Hi,,
>
> I am trying to compile trunk locally in my PC and getting below test
> failed.. How can i solve it.. or disable it?
>
> <testcase time="15.063"
> classname="org.apache.hadoop.ha.TestZKFailoverController"
> name="testGracefulFailover">
>     <error message="test timed out after 15000 milliseconds"
> type="java.lang.Exception">java.lang.Exception: test timed out after 15000
> milliseconds
>         at java.lang.Object.wait(Native Method)
>         at
> org.apache.hadoop.ha.ZKFailoverController.waitForActiveAttempt(ZKFailoverController.java:460)
>         at
> org.apache.hadoop.ha.ZKFailoverController.doGracefulFailover(ZKFailoverController.java:648)
>         at
> org.apache.hadoop.ha.ZKFailoverController.access$400(ZKFailoverController.java:58)
>         at
> org.apache.hadoop.ha.ZKFailoverController$3.run(ZKFailoverController.java:593)
>         at
> org.apache.hadoop.ha.ZKFailoverController$3.run(ZKFailoverController.java:590)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
>         at
> org.apache.hadoop.ha.ZKFailoverController.gracefulFailoverToYou(ZKFailoverController.java:590)
>         at
> org.apache.hadoop.ha.ZKFCRpcServer.gracefulFailover(ZKFCRpcServer.java:95)
>         at
> org.apache.hadoop.ha.TestZKFailoverController.testGracefulFailover(TestZKFailoverController.java:427)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>         at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>         at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>         at
> org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
>         at
> org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)
>
>
> Clement Jebakumar,
> 111/27 Keelamutharamman Kovil Street,
> Tenkasi, 627 811
> http://www.declum.com/clement.html

--
Todd Lipcon
Software Engineer, Cloudera