FAQ
Umbrella task: Clean up HDFS unit tests for timing-sensitive conditions, improve both condition stimulators and condition detection loops
-----------------------------------------------------------------------------------------------------------------------------------------

Key: HDFS-1852
URL: https://issues.apache.org/jira/browse/HDFS-1852
Project: Hadoop HDFS
Issue Type: Test
Components: test
Affects Versions: 0.22.0
Reporter: Matt Foley


Both namenode and datanode have multiple background threads responsible for detecting and responding to time-changing conditions, such as corrupt replicas, under- or over-replicated blocks, etc. The unit tests that attempt to exercise these threads often duplicate complex combinations of actions, and use "wait for" or "wait until" loops to detect the results. The quality and robustness of these loops vary widely, and some problematic ones cause recurring intermittent false positives in Hudson. This is an umbrella task for a set of bugs to be opened, to clean up these usages and move the common ones to DFSTestUtil.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedApr 21, '11 at 5:37a
activeApr 21, '11 at 5:37a
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Matt Foley (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase