[ 
https://issues.apache.org/jira/browse/HDFS-14023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662520#comment-16662520
 ] 

Íñigo Goiri commented on HDFS-14023:
------------------------------------

It looks like the test keeps waiting to get the proper space values but nothing 
happens:
{code}
2018-10-24 04:55:55,462 [Listener at localhost/43557] WARN  balancer.Balancer 
(TestBalancerWithMultipleNameNodes.java:wait(161)) - WAIT i=4800, s=[3000, 1300]
2018-10-24 04:56:05,483 [Listener at localhost/43557] WARN  balancer.Balancer 
(TestBalancerWithMultipleNameNodes.java:wait(161)) - WAIT i=4900, s=[3000, 1300]
2018-10-24 04:56:15,501 [Listener at localhost/43557] WARN  balancer.Balancer 
(TestBalancerWithMultipleNameNodes.java:wait(161)) - WAIT i=5000, s=[3000, 1300]
2018-10-24 04:56:25,519 [Listener at localhost/43557] WARN  balancer.Balancer 
(TestBalancerWithMultipleNameNodes.java:wait(161)) - WAIT i=5100, s=[3000, 1300]
...
2018-10-24 04:57:45,615 [Listener at localhost/43557] WARN  balancer.Balancer 
(TestBalancerWithMultipleNameNodes.java:wait(161)) - WAIT i=5900, s=[3000, 1300]
{code}

[~bharatviswa], it looks like you were the one introducing the test, do you 
mind taking a look?

> TestBalancerWithMultipleNameNodes#test1OutOf2BlockpoolsWithBlockPoolPolicy 
> times out sometimes
> ----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-14023
>                 URL: https://issues.apache.org/jira/browse/HDFS-14023
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Íñigo Goiri
>            Priority: Major
>
> While running the tests for HDFS-14021, it seems like the test times out:
> {code}
> java.lang.Exception: test timed out after 600000 milliseconds
>       at java.lang.Thread.sleep(Native Method)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes.sleep(TestBalancerWithMultipleNameNodes.java:353)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes.wait(TestBalancerWithMultipleNameNodes.java:159)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes.runBalancer(TestBalancerWithMultipleNameNodes.java:175)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes.runTest(TestBalancerWithMultipleNameNodes.java:550)
>       at 
> org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes.test1OutOf2BlockpoolsWithBlockPoolPolicy(TestBalancerWithMultipleNameNodes.java:621)
>       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:47)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to