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/02/22 22:47:48 UTC

[jira] [Created] (HDFS-2987) DNA_SHUTDOWN command is never sent by the NN

DNA_SHUTDOWN command is never sent by the NN
--------------------------------------------

                 Key: HDFS-2987
                 URL: https://issues.apache.org/jira/browse/HDFS-2987
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: data-node
            Reporter: Todd Lipcon
            Priority: Trivial


The DataNode has a code path to handle a DNA_SHUTDOWN command, but in fact this command has never been sent by the NN (it was introduced by HADOOP-641 in 0.8.0!)

--
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-2987) DNA_SHUTDOWN command is never sent by the NN

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

Todd Lipcon commented on HDFS-2987:
-----------------------------------

Do you think it actually works? Given it's never been used and no tests cover it, I wouldn't be surprised if it didn't actually work :)
                
> DNA_SHUTDOWN command is never sent by the NN
> --------------------------------------------
>
>                 Key: HDFS-2987
>                 URL: https://issues.apache.org/jira/browse/HDFS-2987
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>            Reporter: Todd Lipcon
>            Priority: Trivial
>              Labels: newbie
>
> The DataNode has a code path to handle a DNA_SHUTDOWN command, but in fact this command has never been sent by the NN (it was introduced by HADOOP-641 in 0.8.0!)

--
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-2987) DNA_SHUTDOWN command is never sent by the NN

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

Suresh Srinivas commented on HDFS-2987:
---------------------------------------

It is fairly simple code and should work. Datanode calls shutdown(), on receiving this command, which is how DN is shutdown in many places. 
                
> DNA_SHUTDOWN command is never sent by the NN
> --------------------------------------------
>
>                 Key: HDFS-2987
>                 URL: https://issues.apache.org/jira/browse/HDFS-2987
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>            Reporter: Todd Lipcon
>            Priority: Trivial
>              Labels: newbie
>
> The DataNode has a code path to handle a DNA_SHUTDOWN command, but in fact this command has never been sent by the NN (it was introduced by HADOOP-641 in 0.8.0!)

--
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] [Resolved] (HDFS-2987) DNA_SHUTDOWN command is never sent by the NN

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

Suresh Srinivas resolved HDFS-2987.
-----------------------------------

    Resolution: Won't Fix

For now lets retain DNA_SHUTDOWN command. Reopen this bug if we really need to remove that command or create a new jira.
                
> DNA_SHUTDOWN command is never sent by the NN
> --------------------------------------------
>
>                 Key: HDFS-2987
>                 URL: https://issues.apache.org/jira/browse/HDFS-2987
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>            Reporter: Todd Lipcon
>            Priority: Trivial
>              Labels: newbie
>
> The DataNode has a code path to handle a DNA_SHUTDOWN command, but in fact this command has never been sent by the NN (it was introduced by HADOOP-641 in 0.8.0!)

--
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-2987) DNA_SHUTDOWN command is never sent by the NN

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

Suresh Srinivas commented on HDFS-2987:
---------------------------------------

I did consider removing it earlier but decided to leave it alone. It might come handy in the future, even though it is not used currently.
                
> DNA_SHUTDOWN command is never sent by the NN
> --------------------------------------------
>
>                 Key: HDFS-2987
>                 URL: https://issues.apache.org/jira/browse/HDFS-2987
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>            Reporter: Todd Lipcon
>            Priority: Trivial
>              Labels: newbie
>
> The DataNode has a code path to handle a DNA_SHUTDOWN command, but in fact this command has never been sent by the NN (it was introduced by HADOOP-641 in 0.8.0!)

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