Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
After HDFS-11083, the test TestDFSAdmi fails sometimes dueto timed out. The stack infos(https://builds.apache.org/job/PreCommit-HDFS-Build/17484/testReport/):
java.lang.Exception: test timed out after 30000 milliseconds
at java.lang.Thread.sleep(Native Method)
at org.apache.hadoop.test.GenericTestUtils.waitFor(GenericTestUtils.java:268)
at org.apache.hadoop.hdfs.tools.TestDFSAdmin.testReportCommand(TestDFSAdmin.java:540)
The timed out is happened in GenericTestUtils.waitFor. We can make a improvement in the logic of waiting the corrupt blocks.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-11083 Add unit test for DFSAdmin -report command
- Resolved