diff --git a/CHANGES.txt b/CHANGES.txt index 80bb2902602..71f10949674 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -585,6 +585,10 @@ Release 0.21.1 - Unreleased HADOOP-7162. Rmove a duplicated call FileSystem.listStatus(..) in FsShell. (Alexey Diomin via szetszwo) + HADOOP-7117. Remove fs.checkpoint.* from core-default.xml and replace + fs.checkpoint.* with dfs.namenode.checkpoint.* in documentations. + (Harsh J Chouraria via szetszwo) + Release 0.21.0 - 2010-08-13 INCOMPATIBLE CHANGES diff --git a/src/docs/cn/src/documentation/content/xdocs/commands_manual.xml b/src/docs/cn/src/documentation/content/xdocs/commands_manual.xml index f461beac212..beb65b677d4 100644 --- a/src/docs/cn/src/documentation/content/xdocs/commands_manual.xml +++ b/src/docs/cn/src/documentation/content/xdocs/commands_manual.xml @@ -548,7 +548,7 @@
-importCheckpoint
-checkpoint [force]
fs.checkpoint.period
,指定连续两次检查点的最大时间间隔,
+ dfs.namenode.checkpoint.period
,指定连续两次检查点的最大时间间隔,
默认值是1小时。
fs.checkpoint.size
定义了edits日志文件的最大值,一旦超过这个值会导致强制执行检查点(即使没到检查点的最大时间间隔)。默认值是64MB。
+ dfs.namenode.checkpoint.size
定义了edits日志文件的最大值,一旦超过这个值会导致强制执行检查点(即使没到检查点的最大时间间隔)。默认值是64MB。
@@ -296,17 +296,17 @@ Secondary NameNode的检查点进程启动,是由两个配置参数控制的
在配置参数dfs.name.dir
指定的位置建立一个空文件夹;
fs.checkpoint.dir
;
+ 把检查点目录的位置赋值给配置参数dfs.namenode.checkpoint.dir
;
-importCheckpoint
。
- NameNode会从fs.checkpoint.dir
目录读取检查点,
+ NameNode会从dfs.namenode.checkpoint.dir
目录读取检查点,
并把它保存在dfs.name.dir
目录下。
如果dfs.name.dir
目录下有合法的镜像文件,NameNode会启动失败。
- NameNode会检查fs.checkpoint.dir
目录下镜像文件的一致性,但是不会去改动它。
+ NameNode会检查dfs.namenode.checkpoint.dir
目录下镜像文件的一致性,但是不会去改动它。
命令的使用方法请参考secondarynamenode
命令.
@@ -320,11 +320,11 @@ Secondary NameNode的检查点进程启动,是由两个配置参数控制的
+
fs.checkpoint.period
, set to 1 hour by default, specifies
++ dfs.namenode.checkpoint.period
, set to 1 hour by default, specifies
+ the maximum delay between two consecutive checkpoints, and
+ fs.checkpoint.size
, set to 64MB by default, defines the
++ dfs.namenode.checkpoint.size
, set to 64MB by default, defines the
+ size of the edits log file that forces an urgent checkpoint even if
+ the maximum checkpoint delay is not reached.
+ fs.checkpoint.dir
;
++ configuration variable dfs.namenode.checkpoint.dir
;
+ -importCheckpoint
option.
@@ -355,11 +355,11 @@ Secondary NameNode的检查点进程启动,是由两个配置参数控制的
+
+ The NameNode will upload the checkpoint from the
-+ fs.checkpoint.dir
directory and then save it to the NameNode
++ dfs.namenode.checkpoint.dir
directory and then save it to the NameNode
+ directory(s) set in dfs.name.dir
.
+ The NameNode will fail if a legal image is contained in
+ dfs.name.dir
.
-+ The NameNode verifies that the image in fs.checkpoint.dir
is
++ The NameNode verifies that the image in dfs.namenode.checkpoint.dir
is
+ consistent, but does not modify it in any way.
+
diff --git a/src/docs/src/documentation/content/xdocs/commands_manual.xml b/src/docs/src/documentation/content/xdocs/commands_manual.xml index dd5291b26b0..06ee65b357d 100644 --- a/src/docs/src/documentation/content/xdocs/commands_manual.xml +++ b/src/docs/src/documentation/content/xdocs/commands_manual.xml @@ -726,7 +726,7 @@
-importCheckpoint
-checkpoint [force]