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 patrick sang <si...@gmail.com> on 2011/10/12 23:32:54 UTC

wrong in secondary namenode ?

hi hadoopers,

just want to check how it looks in your hadoop settings.
i am running Cloudera CDH3u0, and really curious why previous.checkpoint
directory is not there.
I haven't set any of fs.checkpoint.period or fs.checkpoint.size.

from Tom White's book, in ${fs.checkpoint.dir} should have current and
previous.checkpoint directories

this is from hdfs-site.xml
<property>
    <name>dfs.name.dir</name>
    <value>/hadoop/name,/hadoop/backup</value>
  </property>
...
...
<property>
    <name>fs.checkpoint.dir</name>
    <value>/hadoop/namesecondary</value>
  </property>


and here is from secondary namenode
[namesecondary]$ pwd
/hadoop/namesecondary

[namesecondary]$ ls
current  image  in_use.lock


hope this make sense
P

Re: wrong in secondary namenode ?

Posted by Patai Sangbutsarakum <si...@gmail.com>.
Sadly,

https://issues.apache.org/jira/browse/HDFS-1839

-P


On Wed, Oct 12, 2011 at 2:32 PM, patrick sang <si...@gmail.com> wrote:
> hi hadoopers,
>
> just want to check how it looks in your hadoop settings.
> i am running Cloudera CDH3u0, and really curious why previous.checkpoint
> directory is not there.
> I haven't set any of fs.checkpoint.period or fs.checkpoint.size.
>
> from Tom White's book, in ${fs.checkpoint.dir} should have current and
> previous.checkpoint directories
>
> this is from hdfs-site.xml
> <property>
>     <name>dfs.name.dir</name>
>     <value>/hadoop/name,/hadoop/backup</value>
>   </property>
> ...
> ...
> <property>
>     <name>fs.checkpoint.dir</name>
>     <value>/hadoop/namesecondary</value>
>   </property>
>
>
> and here is from secondary namenode
> [namesecondary]$ pwd
> /hadoop/namesecondary
>
> [namesecondary]$ ls
> current  image  in_use.lock
>
>
> hope this make sense
> P
>
>