[
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