[
https://issues.apache.org/jira/browse/HDFS-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13654691#comment-13654691
]
Colin Patrick McCabe commented on HDFS-4533:
--------------------------------------------
I ran the command with the patch, and {{./sbin/start-dfs.sh -crazygonuts}} was
rejected. However, {{./sbin/start-dfs.sh -upgrade -crazygonuts}} was accepted
without a visible error message.
Given that the obvious error handling cases are covered, I withdraw my earlier
objection. I still think we should add a way to pass arguments to the other
daemons, but I suppose that can be added in a separate JIRA when we actually
need it.
> start-dfs.sh ignored additional parameters besides -upgrade
> -----------------------------------------------------------
>
> Key: HDFS-4533
> URL: https://issues.apache.org/jira/browse/HDFS-4533
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode, namenode
> Affects Versions: 2.0.3-alpha
> Reporter: Fengdong Yu
> Labels: patch
> Fix For: 2.0.5-beta
>
> Attachments: HDFS-4533.patch
>
>
> start-dfs.sh only takes -upgrade option and ignored others.
> So If run the following command, it will ignore the clusterId option.
> start-dfs.sh -upgrade -clusterId 1234
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira