ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scree...@apache.org
Subject git commit: AMBARI-8049 HBASE client won't install on 2.1.GlusterFS - missing configuration dictionary for 'hdfs-site'
Date Fri, 31 Oct 2014 00:46:22 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 4b80b73b4 -> 27e85f624


AMBARI-8049 HBASE client won't install on 2.1.GlusterFS - missing configuration dictionary
for 'hdfs-site'


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

Branch: refs/heads/branch-1.7.0
Commit: 27e85f624d41f99cca653e5490265e76b93de579
Parents: 4b80b73
Author: Scott Creeley <screeley@apache.org>
Authored: Thu Oct 30 20:45:40 2014 -0400
Committer: Scott Creeley <screeley@apache.org>
Committed: Thu Oct 30 20:45:40 2014 -0400

----------------------------------------------------------------------
 .../HDP/2.0.6/services/HBASE/package/scripts/hbase.py       | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/27e85f62/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py
index 2829c7b..d312f0b 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py
@@ -52,21 +52,22 @@ def hbase(name=None # 'master' or 'regionserver' or 'client'
             group = params.user_group
   )
 
-  XmlConfig( "hdfs-site.xml",
+  if 'hdfs-site' in params.config['configurations']:
+    XmlConfig( "hdfs-site.xml",
             conf_dir = params.hbase_conf_dir,
             configurations = params.config['configurations']['hdfs-site'],
             configuration_attributes=params.config['configuration_attributes']['hdfs-site'],
             owner = params.hbase_user,
             group = params.user_group
-  )
+    )
 
-  XmlConfig("hdfs-site.xml",
+    XmlConfig("hdfs-site.xml",
             conf_dir=params.hadoop_conf_dir,
             configurations=params.config['configurations']['hdfs-site'],
             configuration_attributes=params.config['configuration_attributes']['hdfs-site'],
             owner=params.hdfs_user,
             group=params.user_group
-  )
+    )
 
   if 'hbase-policy' in params.config['configurations']:
     XmlConfig( "hbase-policy.xml",


Mime
View raw message