[ https://issues.apache.org/jira/browse/HDFS-5778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910235#comment-13910235 ]
Vinayakumar B commented on HDFS-5778: ------------------------------------- Hi Nicholas, {code} + if (!StartupOption.isRollingUpgradeRollback(startOpt)) { + System.err.println("Unsupported rolling upgrade option: " + + startOpt.getRollingUpgradeStartupOption() + + " is not supported."); + return false; + } {code} I think in DataNode, even though downgrade option is not really required, it should not throw exception. Because start-dfs.sh could be used with "downgrade", in this case it will fail. > Document new commands and parameters for improved rolling upgrades > ------------------------------------------------------------------ > > Key: HDFS-5778 > URL: https://issues.apache.org/jira/browse/HDFS-5778 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: documentation > Affects Versions: HDFS-5535 (Rolling upgrades) > Reporter: Akira AJISAKA > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h5778_20140220.patch, h5778_20140221.patch > > > "hdfs dfsadmin -rollingUpgrade" command was newly added in HDFS-5752, and > some other commands and parameters will be added in the future. This issue > exists to flag undocumented commands and parameters when HDFS-5535 branch is > merging to trunk. -- This message was sent by Atlassian JIRA (v6.1.5#6160)