ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject [4/4] git commit: AMBARI-5505. HBase in Blueprint results in error. (swagle)
Date Fri, 18 Apr 2014 16:42:49 GMT
AMBARI-5505. HBase in Blueprint results in error. (swagle)


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

Branch: refs/heads/trunk
Commit: 6f1b631862f0e56626ef27fb98c992697b7b55ae
Parents: bed392d
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Thu Apr 17 19:13:24 2014 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Fri Apr 18 09:42:32 2014 -0700

----------------------------------------------------------------------
 .../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/6f1b6318/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 0646b57..836265c 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
@@ -71,13 +71,14 @@ def hbase(name=None # 'master' or 'regionserver' or 'client'
 
   if 'hbase-policy' in params.config['configurations']:
     XmlConfig( "hbase-policy.xml",
-      configurations = params.config['configurations']['hbase-policy'],
-      owner = params.hbase_user,
-      group = params.user_group
+            conf_dir = params.conf_dir,
+            configurations = params.config['configurations']['hbase-policy'],
+            owner = params.hbase_user,
+            group = params.user_group
     )
   # Manually overriding ownership of file installed by hadoop package
   else: 
-    File( format("{conf_dir}/hbase-policy.xml"),
+    File( format("{params.conf_dir}/hbase-policy.xml"),
       owner = params.hbase_user,
       group = params.user_group
     )


Mime
View raw message