You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Azuryy Yu <az...@gmail.com> on 2013/02/26 02:57:39 UTC

QJM HA and ClusterID

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!

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
Patch available now. anybody can take a look, Thanks.


On Wed, Feb 27, 2013 at 10:46 AM, Azuryy Yu <az...@gmail.com> wrote:

> 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 <su...@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 <az...@gmail.com> wrote:
>>
>>> Anybody here? Thanks!
>>>
>>>
>>> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/
>>
>
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
Patch available now. anybody can take a look, Thanks.


On Wed, Feb 27, 2013 at 10:46 AM, Azuryy Yu <az...@gmail.com> wrote:

> 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 <su...@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 <az...@gmail.com> wrote:
>>
>>> Anybody here? Thanks!
>>>
>>>
>>> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/
>>
>
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
Patch available now. anybody can take a look, Thanks.


On Wed, Feb 27, 2013 at 10:46 AM, Azuryy Yu <az...@gmail.com> wrote:

> 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 <su...@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 <az...@gmail.com> wrote:
>>
>>> Anybody here? Thanks!
>>>
>>>
>>> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/
>>
>
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
Patch available now. anybody can take a look, Thanks.


On Wed, Feb 27, 2013 at 10:46 AM, Azuryy Yu <az...@gmail.com> wrote:

> 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 <su...@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 <az...@gmail.com> wrote:
>>
>>> Anybody here? Thanks!
>>>
>>>
>>> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/
>>
>
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
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 <su...@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 <az...@gmail.com> wrote:
>
>> Anybody here? Thanks!
>>
>>
>> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
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 <su...@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 <az...@gmail.com> wrote:
>
>> Anybody here? Thanks!
>>
>>
>> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
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 <su...@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 <az...@gmail.com> wrote:
>
>> Anybody here? Thanks!
>>
>>
>> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
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 <su...@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 <az...@gmail.com> wrote:
>
>> Anybody here? Thanks!
>>
>>
>> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/
>

Re: QJM HA and ClusterID

Posted by Suresh Srinivas <su...@hortonworks.com>.
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 <az...@gmail.com> wrote:

> Anybody here? Thanks!
>
>
> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/

Re: QJM HA and ClusterID

Posted by Suresh Srinivas <su...@hortonworks.com>.
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 <az...@gmail.com> wrote:

> Anybody here? Thanks!
>
>
> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/

Re: QJM HA and ClusterID

Posted by Suresh Srinivas <su...@hortonworks.com>.
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 <az...@gmail.com> wrote:

> Anybody here? Thanks!
>
>
> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/

Re: QJM HA and ClusterID

Posted by Suresh Srinivas <su...@hortonworks.com>.
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 <az...@gmail.com> wrote:

> Anybody here? Thanks!
>
>
> On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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/

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
Anybody here? Thanks!


On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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!
>
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
Anybody here? Thanks!


On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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!
>
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
Anybody here? Thanks!


On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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!
>
>

Re: QJM HA and ClusterID

Posted by Azuryy Yu <az...@gmail.com>.
Anybody here? Thanks!


On Tue, Feb 26, 2013 at 9:57 AM, Azuryy Yu <az...@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!
>
>