Hi Huxiaodong!

Thanks for your email. "dfs.namenode.checkpoint.dir" is used in a lower
level abstraction (called FSImage) :
https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java#L1374
. Incidentally to have code reuse and abstractions, this lower level
abstraction is used in both Namenode and SecondaryNamenode (and lots of
other places actually).

Also the Namenode and SecondaryNamenode are running on different machines
ideally.

HTH
Ravi





On Thu, Mar 23, 2017 at 11:23 PM, <hu.xiaod...@zte.com.cn> wrote:

>
> Hello,
>
>       I think "dfs.namenode.checkpoint.dir" and 
> "dfs.namenode.checkpoint.edits.dir"
> is used for secondaryNameNode.
>
>       So I think "dfs.secondary.namenode.checkpoint.dir" and  "dfs.
> secondary.namenode.checkpoint.edits.dir" is better than
> "dfs.namenode.checkpoint.dir" and "dfs.namenode.checkpoint.edits.dir", do
> you think so?
>
>
>       thank you.
>
>       Looking forward to your early reply.
>
>
>
>
>
> 胡晓东 huxiaodong
>
>
> 网管及服务系统部 Network Management & Service System Dept
>
>
>
> 南京市紫荆花路68号中兴通讯二期
> MP: +86-15950565866 <+86%20159%205056%205866>
>
> E: hu.xiaod...@zte.com.cn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@hadoop.apache.org
> For additional commands, e-mail: user-h...@hadoop.apache.org
>

Reply via email to