Преглед на файлове

AMBARI-4437. fs.checkpoint.size is deprecated in HDP2, should be replaced by dfs.namenode.checkpoint.txns

Sumit Mohanty преди 11 години
родител
ревизия
49eb50fd48

+ 0 - 5
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml

@@ -106,11 +106,6 @@
     <value>21600</value>
     <description>HDFS Maximum Checkpoint Delay</description>
   </property>
-  <property>
-    <name>fs_checkpoint_size</name>
-    <value>0.5</value>
-    <description>FS Checkpoint Size.</description>
-  </property>
   <property>
     <name>proxyuser_group</name>
     <value>users</value>

+ 5 - 4
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml

@@ -118,10 +118,11 @@
   </property>
 
   <property>
-    <name>fs.checkpoint.size</name>
-    <value>67108864</value>
-    <description>The size of the current edit log (in bytes) that triggers
-      a periodic checkpoint even if the maximum checkpoint delay is not reached
+    <name>dfs.namenode.checkpoint.txns</name>
+    <value>1000000</value>
+    <description>The Secondary NameNode or CheckpointNode will create a checkpoint
+      of the namespace every 'dfs.namenode.checkpoint.txns' transactions,
+      regardless of whether 'dfs.namenode.checkpoint.period' has expired.
     </description>
   </property>
 

+ 0 - 5
ambari-server/src/main/resources/stacks/HDP/2.1.1/services/HDFS/configuration/global.xml

@@ -106,11 +106,6 @@
     <value>21600</value>
     <description>HDFS Maximum Checkpoint Delay</description>
   </property>
-  <property>
-    <name>fs_checkpoint_size</name>
-    <value>0.5</value>
-    <description>FS Checkpoint Size.</description>
-  </property>
   <property>
     <name>proxyuser_group</name>
     <value>users</value>

+ 5 - 4
ambari-server/src/main/resources/stacks/HDP/2.1.1/services/HDFS/configuration/hdfs-site.xml

@@ -118,10 +118,11 @@
   </property>
 
   <property>
-    <name>fs.checkpoint.size</name>
-    <value>67108864</value>
-    <description>The size of the current edit log (in bytes) that triggers
-      a periodic checkpoint even if the maximum checkpoint delay is not reached
+    <name>dfs.namenode.checkpoint.txns</name>
+    <value>1000000</value>
+    <description>The Secondary NameNode or CheckpointNode will create a checkpoint
+      of the namespace every 'dfs.namenode.checkpoint.txns' transactions,
+      regardless of whether 'dfs.namenode.checkpoint.period' has expired.
     </description>
   </property>
 

+ 5 - 4
ambari-server/src/test/resources/stacks/HDP/2.0.7/services/HDFS/configuration/hdfs-site.xml

@@ -118,10 +118,11 @@
   </property>
 
   <property>
-    <name>fs.checkpoint.size</name>
-    <value>67108864</value>
-    <description>The size of the current edit log (in bytes) that triggers
-      a periodic checkpoint even if the maximum checkpoint delay is not reached
+    <name>dfs.namenode.checkpoint.txns</name>
+    <value>1000000</value>
+    <description>The Secondary NameNode or CheckpointNode will create a checkpoint
+      of the namespace every 'dfs.namenode.checkpoint.txns' transactions,
+      regardless of whether 'dfs.namenode.checkpoint.period' has expired.
     </description>
   </property>
 

+ 0 - 13
ambari-web/app/data/HDP2/site_properties.js

@@ -46,19 +46,6 @@ module.exports =
       "serviceName": "HDFS",
       "index": 3
     },
-    {
-      "id": "site property",
-      "name": "fs.checkpoint.size",
-      "displayName": "HDFS Maximum Edit Log Size for Checkpointing",
-      "description": "Maximum size of the edits log file that forces an urgent checkpoint even if the maximum checkpoint delay is not reached",
-      "defaultValue": "",
-      "displayType": "int",
-      "unit": "bytes",
-      "isVisible": true,
-      "serviceName": "HDFS",
-      "category": "General",
-      "index": 4
-    },
     {
       "id": "site property",
       "name": "dfs.namenode.name.dir",