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 "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/01/23 04:33:42 UTC

[jira] [Created] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
----------------------------------------------------------------------------

                 Key: HDFS-2826
                 URL: https://issues.apache.org/jira/browse/HDFS-2826
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: name-node, test
    Affects Versions: 0.23.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Minor
         Attachments: hdfs-2826.txt

HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Updated] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Todd Lipcon updated HDFS-2826:
------------------------------

    Attachment: hdfs-2826.txt

New patch on top of the updated HDFS-2825 (which no longer uses a config option, but rather just adds an accessor to BlockPlacementPolicyDefault)
                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Hdfs-trunk #935 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/935/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235067
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Updated] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Todd Lipcon updated HDFS-2826:
------------------------------

    Attachment: hdfs-2826.txt

Changed to an assert. I'll submit for the QA bot after HDFS-2825 is committed.
                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #170 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/170/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235068
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #968 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/968/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235067
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #148 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/148/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235068
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Updated] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Todd Lipcon updated HDFS-2826:
------------------------------

    Attachment: hdfs-2826.txt

Attached patch depends on the new config introduced in HDFS-2825
                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1592 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1592/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235067
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #399 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/399/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235068
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Common-0.23-Commit #409 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/409/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235068
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #1575 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1575/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235067
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Updated] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Todd Lipcon updated HDFS-2826:
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.23.1
                   0.24.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Committed to 23 and trunk based on Eli's earlier +1 (the changes since then were just trivial rebases)
                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Eli Collins commented on HDFS-2826:
-----------------------------------

Updated patch looks good.
                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hadoop QA commented on HDFS-2826:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12511563/hdfs-2826.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 7 new or modified tests.

    -1 javadoc.  The javadoc tool appears to have generated 21 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    -1 findbugs.  The patch appears to introduce 1 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1799//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HDFS-Build/1799//artifact/trunk/hadoop-hdfs-project/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1799//console

This message is automatically generated.
                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1648 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1648/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235067
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Eli Collins commented on HDFS-2826:
-----------------------------------

+1   On a related note, can we make the warn if isPopulatingReplQueues in initializeReplQueues an assert? Doesn't look like we should ever legitimately hit this case.
                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Updated] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Todd Lipcon updated HDFS-2826:
------------------------------

    Attachment: hdfs-2826.txt

Patch on trunk now that 2825 is committed.
                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Commented] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Hudson commented on HDFS-2826:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #424 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/424/])
    HDFS-2826. Add test case for HDFS-1476 (safemode can initialize replication queues before exiting) (todd)

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235068
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeMode.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java

                
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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

        

[jira] [Updated] (HDFS-2826) Test case for HDFS-1476 (safemode can initialize repl queues before exiting)

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

Todd Lipcon updated HDFS-2826:
------------------------------

    Status: Patch Available  (was: Open)
    
> Test case for HDFS-1476 (safemode can initialize repl queues before exiting)
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2826
>                 URL: https://issues.apache.org/jira/browse/HDFS-2826
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node, test
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt, hdfs-2826.txt
>
>
> HDFS-1476 introduced a feature whereby SafeMode can trigger the initialization of replication queues before the safemode exit threshold has been reached. But, it didn't include a test for this new behavior. This JIRA is to contribute such a test

--
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