[
https://issues.apache.org/jira/browse/HDFS-5585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865062#comment-13865062
]
Ming Ma commented on HDFS-5585:
-------------------------------
Interesting. Should client ask DN to do the upgrade via ClientDatanodeProtocol,
or should client ask NN to do the upgrade via refreshNodes approach and NN ask
DNs after that? The nice thing about going through NN is NN has the state and
is able to decide the order in which DNs are restarted to minimize the impact
on write and read operation.
> Provide admin commands for data node upgrade
> --------------------------------------------
>
> Key: HDFS-5585
> URL: https://issues.apache.org/jira/browse/HDFS-5585
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, ha, hdfs-client, namenode
> Reporter: Kihwal Lee
>
> Several new methods to ClientDatanodeProtocol may need to be added to support
> querying version, initiating upgrade, etc. The admin CLI needs to be added
> as well. This primary use case is for rolling upgrade, but this can be used
> for preparing for a graceful restart of a data node for any reasons.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)