You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Azuryy Yu <az...@gmail.com> on 2013/06/21 09:16:40 UTC

HDFS upgrade under HA

Hi,

The layout version is -43 until 2.0.4-alpha, but HDFS-4908 changed layout
version to -45.

so if My test cluster is running hadoop-2.0.4-alpha(-43), which is upgraded
from hadoop-1.0.4, then I want to upgrade using trunk(-45), how to do?

It cannot upgrade under HA, so I can use hadoop-1.0.4 core-site and
hdfs-site, then "start-dfs.sh -upgrade", but standby NN cannot upgrade,

so how to upgrade standby NN under HA?

Re: HDFS upgrade under HA

Posted by Suresh Srinivas <su...@hortonworks.com>.
I have hard time understanding your question.



On Fri, Jun 21, 2013 at 12:16 AM, Azuryy Yu <az...@gmail.com> wrote:

> Hi,
>
> The layout version is -43 until 2.0.4-alpha, but HDFS-4908 changed layout
> version to -45.
>
> so if My test cluster is running hadoop-2.0.4-alpha(-43), which is
> upgraded from hadoop-1.0.4, then I want to upgrade using trunk(-45), how to
> do?
>

Layout version can increase (or decrease given it is negative number) by
more than 1, when you upgrade to a new release. So 2.0.4-alpha(-43) can
upgrade to trunk(-45) version.


>
> It cannot upgrade under HA, so I can use hadoop-1.0.4 core-site and
> hdfs-site, then "start-dfs.sh -upgrade", but standby NN cannot upgrade,
>

What is preventing you from upgrading? Please add details on what you are
doing and what issue you are seeing.

Regards,
Suresh

Re: HDFS upgrade under HA

Posted by Suresh Srinivas <su...@hortonworks.com>.
I have hard time understanding your question.



On Fri, Jun 21, 2013 at 12:16 AM, Azuryy Yu <az...@gmail.com> wrote:

> Hi,
>
> The layout version is -43 until 2.0.4-alpha, but HDFS-4908 changed layout
> version to -45.
>
> so if My test cluster is running hadoop-2.0.4-alpha(-43), which is
> upgraded from hadoop-1.0.4, then I want to upgrade using trunk(-45), how to
> do?
>

Layout version can increase (or decrease given it is negative number) by
more than 1, when you upgrade to a new release. So 2.0.4-alpha(-43) can
upgrade to trunk(-45) version.


>
> It cannot upgrade under HA, so I can use hadoop-1.0.4 core-site and
> hdfs-site, then "start-dfs.sh -upgrade", but standby NN cannot upgrade,
>

What is preventing you from upgrading? Please add details on what you are
doing and what issue you are seeing.

Regards,
Suresh

Re: HDFS upgrade under HA

Posted by Suresh Srinivas <su...@hortonworks.com>.
I have hard time understanding your question.



On Fri, Jun 21, 2013 at 12:16 AM, Azuryy Yu <az...@gmail.com> wrote:

> Hi,
>
> The layout version is -43 until 2.0.4-alpha, but HDFS-4908 changed layout
> version to -45.
>
> so if My test cluster is running hadoop-2.0.4-alpha(-43), which is
> upgraded from hadoop-1.0.4, then I want to upgrade using trunk(-45), how to
> do?
>

Layout version can increase (or decrease given it is negative number) by
more than 1, when you upgrade to a new release. So 2.0.4-alpha(-43) can
upgrade to trunk(-45) version.


>
> It cannot upgrade under HA, so I can use hadoop-1.0.4 core-site and
> hdfs-site, then "start-dfs.sh -upgrade", but standby NN cannot upgrade,
>

What is preventing you from upgrading? Please add details on what you are
doing and what issue you are seeing.

Regards,
Suresh

Re: HDFS upgrade under HA

Posted by Suresh Srinivas <su...@hortonworks.com>.
I have hard time understanding your question.



On Fri, Jun 21, 2013 at 12:16 AM, Azuryy Yu <az...@gmail.com> wrote:

> Hi,
>
> The layout version is -43 until 2.0.4-alpha, but HDFS-4908 changed layout
> version to -45.
>
> so if My test cluster is running hadoop-2.0.4-alpha(-43), which is
> upgraded from hadoop-1.0.4, then I want to upgrade using trunk(-45), how to
> do?
>

Layout version can increase (or decrease given it is negative number) by
more than 1, when you upgrade to a new release. So 2.0.4-alpha(-43) can
upgrade to trunk(-45) version.


>
> It cannot upgrade under HA, so I can use hadoop-1.0.4 core-site and
> hdfs-site, then "start-dfs.sh -upgrade", but standby NN cannot upgrade,
>

What is preventing you from upgrading? Please add details on what you are
doing and what issue you are seeing.

Regards,
Suresh