AMBARI-22248. HBase default.rootdir config results in deploy failure if value is not overriden. (swagle)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e19029cb Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e19029cb Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e19029cb Branch: refs/heads/branch-feature-AMBARI-22008 Commit: e19029cbd419fc6512350c365e43faff60d4acc9 Parents: 79d4ac2 Author: Siddharth Wagle <swa...@hortonworks.com> Authored: Mon Oct 16 17:57:42 2017 -0700 Committer: Siddharth Wagle <swa...@hortonworks.com> Committed: Mon Oct 16 17:57:42 2017 -0700 ---------------------------------------------------------------------- .../HBASE/0.96.0.2.0/configuration/hbase-site.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/e19029cb/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/configuration/hbase-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/configuration/hbase-site.xml b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/configuration/hbase-site.xml index 54ab35d..a48aad4 100644 --- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/configuration/hbase-site.xml +++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/configuration/hbase-site.xml @@ -22,15 +22,16 @@ <configuration supports_final="true"> <property> <name>hbase.rootdir</name> - <value>hdfs://localhost:8020/apps/hbase/data</value> + <value>/apps/hbase/data</value> <description>The directory shared by region servers and into - which HBase persists. The URL should be 'fully-qualified' - to include the filesystem scheme. For example, to specify the - HDFS directory '/hbase' where the HDFS instance's namenode is - running at namenode.example.org on port 9000, set this value to: - hdfs://namenode.example.org:9000/hbase. By default HBase writes - into /tmp. Change this configuration else all data will be lost - on machine restart. + which HBase persists. The URL should be 'fully-qualified' + to include the filesystem scheme. For example, to specify the + HDFS directory '/hbase' where the HDFS instance's namenode is + running at namenode.example.org on port 9000, set this value to: + hdfs://namenode.example.org:9000/hbase. By default HBase writes + into /tmp. Change this configuration else all data will be lost + on machine restart. Ambari sets this a scheme less value which defaults to + a HDFS relative path. </description> <on-ambari-upgrade add="false"/> </property>