You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2013/12/04 21:57:29 UTC

git commit: AMBARI-3949. Review Default Setting for HDFS In Ambari. (jaimin)

Updated Branches:
  refs/heads/trunk 186798c6d -> 0bc52fd96


AMBARI-3949. Review Default Setting for HDFS In Ambari. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0bc52fd9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0bc52fd9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0bc52fd9

Branch: refs/heads/trunk
Commit: 0bc52fd96b2d126f659a922f96a5232b05128e67
Parents: 186798c
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Wed Dec 4 12:57:02 2013 -0800
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Wed Dec 4 12:57:08 2013 -0800

----------------------------------------------------------------------
 .../stacks/HDP/1.3.2/services/HDFS/configuration/global.xml   | 2 +-
 .../stacks/HDP/1.3.3/services/HDFS/configuration/global.xml   | 2 +-
 .../stacks/HDP/2.0.6/services/HDFS/configuration/global.xml   | 2 +-
 .../HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml       | 7 +++++++
 .../stacks/HDP/2.0.8/services/HDFS/configuration/global.xml   | 2 +-
 .../HDP/2.0.8/services/HDFS/configuration/hdfs-site.xml       | 7 +++++++
 ambari-web/app/data/HDP2/global_properties.js                 | 4 ++--
 ambari-web/app/data/global_properties.js                      | 2 +-
 8 files changed, 21 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0bc52fd9/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/global.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/global.xml
index f10b9f9..04d51db 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/global.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/global.xml
@@ -83,7 +83,7 @@
   </property>
   <property>
     <name>namenode_opt_maxnewsize</name>
-    <value>640</value>
+    <value>200</value>
     <description>NameNode maximum new generation size</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/ambari/blob/0bc52fd9/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/global.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/global.xml
index f10b9f9..04d51db 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/global.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/global.xml
@@ -83,7 +83,7 @@
   </property>
   <property>
     <name>namenode_opt_maxnewsize</name>
-    <value>640</value>
+    <value>200</value>
     <description>NameNode maximum new generation size</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/ambari/blob/0bc52fd9/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
index 59b68ac..49d66bb 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/global.xml
@@ -83,7 +83,7 @@
   </property>
   <property>
     <name>namenode_opt_maxnewsize</name>
-    <value>640</value>
+    <value>200</value>
     <description>NameNode maximum new generation size</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/ambari/blob/0bc52fd9/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml
index bd3b12a..a32a05f 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml
@@ -481,4 +481,11 @@ don't exist, they will be created with this permission.</description>
     </description>
   </property>
 
+  <property>
+    <name>dfs.namenode.name.dir.restore</name>
+    <value>true</value>
+    <description>Set to true to enable NameNode to attempt recovering a previously failed dfs.namenode.name.dir.
+      When enabled, a recovery of any failed directory is attempted during checkpoint.</description>
+  </property>
+
 </configuration>

http://git-wip-us.apache.org/repos/asf/ambari/blob/0bc52fd9/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/global.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/global.xml
index 59b68ac..49d66bb 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/global.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/global.xml
@@ -83,7 +83,7 @@
   </property>
   <property>
     <name>namenode_opt_maxnewsize</name>
-    <value>640</value>
+    <value>200</value>
     <description>NameNode maximum new generation size</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/ambari/blob/0bc52fd9/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/hdfs-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/hdfs-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/hdfs-site.xml
index bd3b12a..a32a05f 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/hdfs-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/configuration/hdfs-site.xml
@@ -481,4 +481,11 @@ don't exist, they will be created with this permission.</description>
     </description>
   </property>
 
+  <property>
+    <name>dfs.namenode.name.dir.restore</name>
+    <value>true</value>
+    <description>Set to true to enable NameNode to attempt recovering a previously failed dfs.namenode.name.dir.
+      When enabled, a recovery of any failed directory is attempted during checkpoint.</description>
+  </property>
+
 </configuration>

http://git-wip-us.apache.org/repos/asf/ambari/blob/0bc52fd9/ambari-web/app/data/HDP2/global_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2/global_properties.js b/ambari-web/app/data/HDP2/global_properties.js
index 8f23bdf..8272d3a 100644
--- a/ambari-web/app/data/HDP2/global_properties.js
+++ b/ambari-web/app/data/HDP2/global_properties.js
@@ -212,11 +212,11 @@ module.exports =
       "name": "namenode_opt_maxnewsize",
       "displayName": "NameNode maximum new generation size",
       "description": "",
-      "defaultValue": "640",
+      "defaultValue": "200",
       "displayType": "int",
       "unit": "MB",
       "isOverridable": false,
-      "isVisible": false,
+      "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
       "category": "NameNode"

http://git-wip-us.apache.org/repos/asf/ambari/blob/0bc52fd9/ambari-web/app/data/global_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/global_properties.js b/ambari-web/app/data/global_properties.js
index 4bd04c1..cc8d56c 100644
--- a/ambari-web/app/data/global_properties.js
+++ b/ambari-web/app/data/global_properties.js
@@ -229,7 +229,7 @@ module.exports =
       "displayType": "int",
       "unit": "MB",
       "isOverridable": false,
-      "isVisible": false,
+      "isVisible": true,
       "domain": "global",
       "serviceName": "HDFS",
       "category": "NameNode"