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 22:09:24 UTC
git commit: AMBARI-3949. Improve Default Setting for HDFS In Ambari.
(jaimin)
Updated Branches:
refs/heads/branch-1.4.2 b2cd951b8 -> 2074facc9
AMBARI-3949. Improve 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/2074facc
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2074facc
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2074facc
Branch: refs/heads/branch-1.4.2
Commit: 2074facc90271d9e914b9eda91f01aa2b16220cd
Parents: b2cd951
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Wed Dec 4 13:06:52 2013 -0800
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Wed Dec 4 13:06:52 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 +++++++
ambari-web/app/data/HDP2/global_properties.js | 4 ++--
ambari-web/app/data/global_properties.js | 2 +-
6 files changed, 13 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/2074facc/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/2074facc/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/2074facc/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/2074facc/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/2074facc/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 3efabc7..6961651 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/2074facc/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"