hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4533) start-dfs.sh ignored additional parameters besides -upgrade
Date Mon, 18 Mar 2013 20:25:16 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605585#comment-13605585
] 

Colin Patrick McCabe commented on HDFS-4533:
--------------------------------------------

Hi Suresh,

My concern is that this change will regress error handling.

Before the patch:
{code}
cmccabe@keter:/h> ./sbin/start-dfs.sh -crazygonuts
Usage: start-dfs.sh [-upgrade|-rollback]
{code}

After the patch:
{code}
cmccabe@keter:/h> ./sbin/start-dfs.sh -crazygonuts
[... silently does the wrong thing ...]
{code}

Does that make sense?
                
> 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

Mime
View raw message