Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
3.0.0-beta1
-
None
-
None
-
None
Description
When running testcases without any code changes, the function testBalancerWithPinnedBlocks in TestBalancer.java never succeeded. I tried to use Ubuntu 16.04 and redhat 7, maybe the failure is not related to various linux environment. I am not sure if there is some bug in this case or I used wrong environment and settings. Could anyone give some advice.
-------------------------------------------------------------------------------
Test set: org.apache.hadoop.hdfs.server.balancer.TestBalancer
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 100.389 sec <<< FAILURE! - in org.apache.hadoop.hdfs.server.balancer.TestBalancer
testBalancerWithPinnedBlocks(org.apache.hadoop.hdfs.server.balancer.TestBalancer) Time elapsed: 100.134 sec <<< ERROR!
java.lang.Exception: test timed out after 100000 milliseconds
at java.lang.Object.wait(Native Method)
at org.apache.hadoop.hdfs.DataStreamer.waitForAckedSeqno(DataStreamer.java:903)
at org.apache.hadoop.hdfs.DFSOutputStream.flushInternal(DFSOutputStream.java:773)
at org.apache.hadoop.hdfs.DFSOutputStream.closeImpl(DFSOutputStream.java:870)
at org.apache.hadoop.hdfs.DFSOutputStream.close(DFSOutputStream.java:842)
at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:72)
at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:101)
at org.apache.hadoop.hdfs.DFSTestUtil.createFile(DFSTestUtil.java:441)
at org.apache.hadoop.hdfs.server.balancer.TestBalancer.testBalancerWithPinnedBlocks(TestBalancer.java:515)