You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/12/04 01:16:59 UTC
git commit: AMBARI-3949. Improve Default Setting for HDFS In Ambari.
(jaimin via yusaku)
Updated Branches:
refs/heads/trunk e8d30dd22 -> f2969d2dc
AMBARI-3949. Improve Default Setting for HDFS In Ambari. (jaimin via yusaku)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f2969d2d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f2969d2d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f2969d2d
Branch: refs/heads/trunk
Commit: f2969d2dc7ff6032aae4bfcff76901c32c2a9157
Parents: e8d30dd
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Tue Dec 3 16:17:31 2013 -0800
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Tue Dec 3 16:17:31 2013 -0800
----------------------------------------------------------------------
.../stacks/HDP/1.3.2/services/HDFS/configuration/global.xml | 2 +-
.../HDP/1.3.2/services/HDFS/configuration/hdfs-site.xml | 2 +-
.../stacks/HDP/1.3.3/services/HDFS/configuration/global.xml | 2 +-
.../HDP/1.3.3/services/HDFS/configuration/hdfs-site.xml | 2 +-
.../stacks/HDP/2.0.6/services/HDFS/configuration/global.xml | 2 +-
.../HDP/2.0.6/services/HDFS/configuration/hdfs-site.xml | 9 ++++++++-
.../stacks/HDP/2.0.8/services/HDFS/configuration/global.xml | 2 +-
.../HDP/2.0.8/services/HDFS/configuration/hdfs-site.xml | 9 ++++++++-
ambari-web/app/data/HDP2/global_properties.js | 4 ++--
ambari-web/app/data/global_properties.js | 2 +-
10 files changed, 25 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/f2969d2d/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/f2969d2d/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hdfs-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hdfs-site.xml b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hdfs-site.xml
index 1a0b933..abb217d 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hdfs-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hdfs-site.xml
@@ -57,7 +57,7 @@
<property>
<name>dfs.datanode.failed.volumes.tolerated</name>
- <value>0</value>
+ <value>1</value>
<description>#of failed disks dn would tolerate</description>
<final>true</final>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/f2969d2d/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/f2969d2d/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/hdfs-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/hdfs-site.xml b/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/hdfs-site.xml
index 1a0b933..abb217d 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/hdfs-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/configuration/hdfs-site.xml
@@ -57,7 +57,7 @@
<property>
<name>dfs.datanode.failed.volumes.tolerated</name>
- <value>0</value>
+ <value>1</value>
<description>#of failed disks dn would tolerate</description>
<final>true</final>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/f2969d2d/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/f2969d2d/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..ea65dd8 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
@@ -51,7 +51,7 @@
<property>
<name>dfs.datanode.failed.volumes.tolerated</name>
- <value>0</value>
+ <value>1</value>
<description> Number of failed disks a DataNode would tolerate before it stops offering service</description>
<final>true</final>
</property>
@@ -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/f2969d2d/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/f2969d2d/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..ea65dd8 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
@@ -51,7 +51,7 @@
<property>
<name>dfs.datanode.failed.volumes.tolerated</name>
- <value>0</value>
+ <value>1</value>
<description> Number of failed disks a DataNode would tolerate before it stops offering service</description>
<final>true</final>
</property>
@@ -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/f2969d2d/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/f2969d2d/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"