Hi Suresh,
 
Thanks for your reply. I filed a bug: https://issues.apache.org/jira/browse/HDFS-4533
 


On Wed, Feb 27, 2013 at 9:30 AM, Suresh Srinivas <suresh@hortonworks.com> wrote:
looks start-dfs.sh has a bug. It only takes -upgrade option and ignores clusterId.

Consider running the command (which is what start-dfs.sh calls):
bin/hdfs start namenode -upgrade -clusterId <your cluster ID>

Please file a bug, if you can, for start-dfs.sh bug which ignores additional parameters.


On Tue, Feb 26, 2013 at 4:50 PM, Azuryy Yu <azuryyyu@gmail.com> wrote:
Anybody here? Thanks!


On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <azuryyyu@gmail.com> wrote:
Hi all,
I've stay on this question several days. I want upgrade my cluster from hadoop-1.0.3 to hadoop-2.0.3-alpha, I've configured QJM successfully.

How to customize clusterID by myself. It generated a random clusterID now.

It doesn't work when I run:

start-dfs.sh -upgrade -clusterId 12345-test

Thanks!





--
http://hortonworks.com/download/