You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Matt Foley (JIRA)" <ji...@apache.org> on 2011/04/21 08:15:05 UTC

[jira] [Created] (HDFS-1853) refactor TestNodeCount to import standard node counting and "wait for replication" methods

refactor TestNodeCount to import standard node counting and "wait for replication" methods
------------------------------------------------------------------------------------------

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


Eli's suggestions for refactoring the three "wait for" loops in TestNodeCount for re-usability (similar to what was done for HDFS-1562): You could augment NameNodeAdapter#getReplicaInfo to return excess and live replica counts as well and then just add waitFor[Live|Excess]Replicas methods to DFSTestUtil and have TestNodeCount call them. This way we could re-use them in the other replication tests.



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

[jira] [Updated] (HDFS-1853) refactor TestNodeCount to import standard node counting and "wait for replication" methods

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HDFS-1853:
-----------------------------

    Issue Type: Improvement  (was: Sub-task)
        Parent:     (was: HDFS-1852)

> refactor TestNodeCount to import standard node counting and "wait for replication" methods
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1853
>                 URL: https://issues.apache.org/jira/browse/HDFS-1853
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Matt Foley
>
> Eli's suggestions for refactoring the three "wait for" loops in TestNodeCount for re-usability (similar to what was done for HDFS-1562): You could augment NameNodeAdapter#getReplicaInfo to return excess and live replica counts as well and then just add waitFor[Live|Excess]Replicas methods to DFSTestUtil and have TestNodeCount call them. This way we could re-use them in the other replication tests.

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

[jira] [Commented] (HDFS-1853) refactor TestNodeCount to import standard node counting and "wait for replication" methods

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038098#comment-13038098 ] 

Matt Foley commented on HDFS-1853:
----------------------------------

Removed from HDFS-1852 umbrella task, since not related to recurring Hudson test failures.

> refactor TestNodeCount to import standard node counting and "wait for replication" methods
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1853
>                 URL: https://issues.apache.org/jira/browse/HDFS-1853
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Matt Foley
>
> Eli's suggestions for refactoring the three "wait for" loops in TestNodeCount for re-usability (similar to what was done for HDFS-1562): You could augment NameNodeAdapter#getReplicaInfo to return excess and live replica counts as well and then just add waitFor[Live|Excess]Replicas methods to DFSTestUtil and have TestNodeCount call them. This way we could re-use them in the other replication tests.

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

[jira] [Assigned] (HDFS-1853) refactor TestNodeCount to import standard node counting and "wait for replication" methods

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley reassigned HDFS-1853:
--------------------------------

    Assignee: Matt Foley

> refactor TestNodeCount to import standard node counting and "wait for replication" methods
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1853
>                 URL: https://issues.apache.org/jira/browse/HDFS-1853
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Matt Foley
>            Assignee: Matt Foley
>
> Eli's suggestions for refactoring the three "wait for" loops in TestNodeCount for re-usability (similar to what was done for HDFS-1562): You could augment NameNodeAdapter#getReplicaInfo to return excess and live replica counts as well and then just add waitFor[Live|Excess]Replicas methods to DFSTestUtil and have TestNodeCount call them. This way we could re-use them in the other replication tests.

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

[jira] [Updated] (HDFS-1853) refactor TestNodeCount to import standard node counting and "wait for replication" methods

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HDFS-1853:
-----------------------------

    Issue Type: Sub-task  (was: Test)
        Parent: HDFS-1852

> refactor TestNodeCount to import standard node counting and "wait for replication" methods
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1853
>                 URL: https://issues.apache.org/jira/browse/HDFS-1853
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Matt Foley
>
> Eli's suggestions for refactoring the three "wait for" loops in TestNodeCount for re-usability (similar to what was done for HDFS-1562): You could augment NameNodeAdapter#getReplicaInfo to return excess and live replica counts as well and then just add waitFor[Live|Excess]Replicas methods to DFSTestUtil and have TestNodeCount call them. This way we could re-use them in the other replication tests.

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