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 06:53:19 UTC
git commit: Revert "AMBARI-3949. Improve Default Setting for HDFS In
Ambari. (jaimin via yusaku)"
Updated Branches:
refs/heads/branch-1.4.2 92183b256 -> 86b297e46
Revert "AMBARI-3949. Improve Default Setting for HDFS In Ambari. (jaimin via yusaku)"
This reverts commit 5e59ec5b7559eeb91b748240272d4a57e56a12f7.
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/86b297e4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/86b297e4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/86b297e4
Branch: refs/heads/branch-1.4.2
Commit: 86b297e46c2c7458e96925aff5b8a2fc381f68e6
Parents: 92183b2
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Tue Dec 3 21:54:10 2013 -0800
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Tue Dec 3 21:54:10 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 +--------
ambari-web/app/data/HDP2/global_properties.js | 4 ++--
ambari-web/app/data/global_properties.js | 2 +-
8 files changed, 9 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/86b297e4/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 04d51db..f10b9f9 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>200</value>
+ <value>640</value>
<description>NameNode maximum new generation size</description>
</property>
<property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/86b297e4/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 abb217d..1a0b933 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>1</value>
+ <value>0</value>
<description>#of failed disks dn would tolerate</description>
<final>true</final>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/86b297e4/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 04d51db..f10b9f9 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>200</value>
+ <value>640</value>
<description>NameNode maximum new generation size</description>
</property>
<property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/86b297e4/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 abb217d..1a0b933 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>1</value>
+ <value>0</value>
<description>#of failed disks dn would tolerate</description>
<final>true</final>
</property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/86b297e4/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 49d66bb..59b68ac 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>200</value>
+ <value>640</value>
<description>NameNode maximum new generation size</description>
</property>
<property>
http://git-wip-us.apache.org/repos/asf/ambari/blob/86b297e4/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 ea65dd8..bd3b12a 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>1</value>
+ <value>0</value>
<description> Number of failed disks a DataNode would tolerate before it stops offering service</description>
<final>true</final>
</property>
@@ -481,11 +481,4 @@ 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/86b297e4/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 6961651..3efabc7 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": "200",
+ "defaultValue": "640",
"displayType": "int",
"unit": "MB",
"isOverridable": false,
- "isVisible": true,
+ "isVisible": false,
"domain": "global",
"serviceName": "HDFS",
"category": "NameNode"
http://git-wip-us.apache.org/repos/asf/ambari/blob/86b297e4/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 cc8d56c..4bd04c1 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": true,
+ "isVisible": false,
"domain": "global",
"serviceName": "HDFS",
"category": "NameNode"