[
https://issues.apache.org/jira/browse/HDFS-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-3985:
------------------------------
Attachment: hdfs-3985-timeouts.txt
Attached patch adds 120sec timeouts to all the test cases in this suite.
The last nightly run took 145 seconds, and a run on my laptop had these timings:
{code}
<testcase time="25.516"
classname="org.apache.hadoop.hdfs.server.datanode.TestMultipleNNDataBlockScanner"
name="testDataBlockScanner"/>
<testcase time="21.932"
classname="org.apache.hadoop.hdfs.server.datanode.TestMultipleNNDataBlockScanner"
name="testBlockScannerAfterRefresh"/>
<testcase time="26.999"
classname="org.apache.hadoop.hdfs.server.datanode.TestMultipleNNDataBlockScanner"
name="testBlockScannerAfterRestart"/>
<testcase time="51.206"
classname="org.apache.hadoop.hdfs.server.datanode.TestMultipleNNDataBlockScanner"
name="test2NNBlockRescanInterval"/>
<testcase time="20.61"
classname="org.apache.hadoop.hdfs.server.datanode.TestMultipleNNDataBlockScanner"
name="testBlockRescanInterval"/>
{code}
So 120sec should be plenty of time to not inflict false errors but hopefully
will catch the next time it gets "stuck"
> TestMulitipleNNDataBlockScanner may hang
> ----------------------------------------
>
> Key: HDFS-3985
> URL: https://issues.apache.org/jira/browse/HDFS-3985
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 2.0.2-alpha
> Reporter: Eli Collins
> Labels: test-fail
> Attachments: hdfs-3985-timeouts.txt
>
>
> Saw TestMulitipleNNDataBlockScanner hang in a jenkins job recently. Let's add
> the relevant test timeouts so we can see what's going on.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira