hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Prakash <ravihad...@gmail.com>
Subject Re: About the name of "dfs.namenode.checkpoint.dir" and "dfs.namenode.checkpoint.edits.dir"
Date Fri, 24 Mar 2017 16:33:22 GMT
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.xiaodong@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.xiaodong@zte.com.cn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org
>

Mime
View raw message