FAQ
Auto HA: Refactor tests and add stress tests
--------------------------------------------

Key: HADOOP-8228
URL: https://issues.apache.org/jira/browse/HADOOP-8228
Project: Hadoop Common
Issue Type: Test
Components: auto-failover, ha, test
Affects Versions: Auto Failover (HDFS-3042)
Reporter: Todd Lipcon
Assignee: Todd Lipcon


It's important that the ZKFailoverController be robust and not contain race conditions, etc. One strategy to find potential races is to add stress tests which exercise the code as fast as possible. This JIRA is to implement some test cases of this style.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

  • Todd Lipcon (Resolved) (JIRA) at Mar 30, 2012 at 8:31 pm
    [ https://issues.apache.org/jira/browse/HADOOP-8228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Todd Lipcon resolved HADOOP-8228.
    ---------------------------------

    Resolution: Fixed
    Fix Version/s: Auto Failover (HDFS-3042)
    Hadoop Flags: Reviewed

    Committed to HDFS-3042 branch. Thanks for reviewing, Aaron. I also ran the tests here with STRESS_RUNTIME_SECS bumped to 120s a couple times before committing.
    Auto HA: Refactor tests and add stress tests
    --------------------------------------------

    Key: HADOOP-8228
    URL: https://issues.apache.org/jira/browse/HADOOP-8228
    Project: Hadoop Common
    Issue Type: Test
    Components: auto-failover, ha, test
    Affects Versions: Auto Failover (HDFS-3042)
    Reporter: Todd Lipcon
    Assignee: Todd Lipcon
    Fix For: Auto Failover (HDFS-3042)

    Attachments: hadoop-8228.txt, hadoop-8228.txt, hadoop-8228.txt, hadoop-8228.txt


    It's important that the ZKFailoverController be robust and not contain race conditions, etc. One strategy to find potential races is to add stress tests which exercise the code as fast as possible. This JIRA is to implement some test cases of this style.
    --
    This message is automatically generated by JIRA.
    If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMar 29, '12 at 9:57p
activeMar 30, '12 at 8:31p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Todd Lipcon (Resolved) (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase