You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by ch huang <ju...@gmail.com> on 2014/05/19 12:09:56 UTC
about hadoop upgrade
hi,maillist:
i want to upgrade my cluster ,in doc,one of step is backup
namenode dfs.namenode.name.dir
directory,i have 2 directories defined in hdfs-site.xml,should i backup
them all ,or just one of them?
<property>
<name>dfs.namenode.name.dir</name>
<value>file:///data/namespace/1,file:///data/namespace/2</value>
</property>
Re: about hadoop upgrade
Posted by Harsh J <ha...@cloudera.com>.
Backing up one of them is sufficient, but do check if both their
contents are same and backup the more recent one (a mount may lag
behind if it had a failure earlier, for ex.).
On Mon, May 19, 2014 at 3:39 PM, ch huang <ju...@gmail.com> wrote:
> hi,maillist:
> i want to upgrade my cluster ,in doc,one of step is backup namenode
> dfs.namenode.name.dir directory,i have 2 directories defined in
> hdfs-site.xml,should i backup them all ,or just one of them?
>
> <property>
> <name>dfs.namenode.name.dir</name>
> <value>file:///data/namespace/1,file:///data/namespace/2</value>
> </property>
--
Harsh J
Re: about hadoop upgrade
Posted by Harsh J <ha...@cloudera.com>.
Backing up one of them is sufficient, but do check if both their
contents are same and backup the more recent one (a mount may lag
behind if it had a failure earlier, for ex.).
On Mon, May 19, 2014 at 3:39 PM, ch huang <ju...@gmail.com> wrote:
> hi,maillist:
> i want to upgrade my cluster ,in doc,one of step is backup namenode
> dfs.namenode.name.dir directory,i have 2 directories defined in
> hdfs-site.xml,should i backup them all ,or just one of them?
>
> <property>
> <name>dfs.namenode.name.dir</name>
> <value>file:///data/namespace/1,file:///data/namespace/2</value>
> </property>
--
Harsh J
Re: about hadoop upgrade
Posted by Harsh J <ha...@cloudera.com>.
Backing up one of them is sufficient, but do check if both their
contents are same and backup the more recent one (a mount may lag
behind if it had a failure earlier, for ex.).
On Mon, May 19, 2014 at 3:39 PM, ch huang <ju...@gmail.com> wrote:
> hi,maillist:
> i want to upgrade my cluster ,in doc,one of step is backup namenode
> dfs.namenode.name.dir directory,i have 2 directories defined in
> hdfs-site.xml,should i backup them all ,or just one of them?
>
> <property>
> <name>dfs.namenode.name.dir</name>
> <value>file:///data/namespace/1,file:///data/namespace/2</value>
> </property>
--
Harsh J
Re: about hadoop upgrade
Posted by Harsh J <ha...@cloudera.com>.
Backing up one of them is sufficient, but do check if both their
contents are same and backup the more recent one (a mount may lag
behind if it had a failure earlier, for ex.).
On Mon, May 19, 2014 at 3:39 PM, ch huang <ju...@gmail.com> wrote:
> hi,maillist:
> i want to upgrade my cluster ,in doc,one of step is backup namenode
> dfs.namenode.name.dir directory,i have 2 directories defined in
> hdfs-site.xml,should i backup them all ,or just one of them?
>
> <property>
> <name>dfs.namenode.name.dir</name>
> <value>file:///data/namespace/1,file:///data/namespace/2</value>
> </property>
--
Harsh J