You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2013/12/13 21:33:32 UTC

git commit: AMBARI-4070. HBase 2.0._ stops after starting

Updated Branches:
  refs/heads/trunk 6f179fd03 -> 5d9f9ed59


AMBARI-4070. HBase 2.0._ stops after starting


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

Branch: refs/heads/trunk
Commit: 5d9f9ed5934bba1d59830db1afc74c62402c9a0c
Parents: 6f179fd
Author: Andrew Onischuk <ao...@hortonworks.com>
Authored: Fri Dec 13 12:31:13 2013 -0800
Committer: Andrew Onischuk <ao...@hortonworks.com>
Committed: Fri Dec 13 12:31:13 2013 -0800

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.0._/metainfo.xml      |  2 +-
 .../HDP/2.0._/services/HBASE/configuration/hbase-site.xml |  2 +-
 .../2.0._/services/HBASE/package/scripts/hbase_master.py  | 10 ++++++----
 3 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5d9f9ed5/ambari-server/src/main/resources/stacks/HDP/2.0._/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0._/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.0._/metainfo.xml
index ca45822..45a63e5 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0._/metainfo.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0._/metainfo.xml
@@ -17,6 +17,6 @@
 -->
 <metainfo>
     <versions>
-	  <active>true</active>
+	  <active>false</active>
     </versions>
 </metainfo>

http://git-wip-us.apache.org/repos/asf/ambari/blob/5d9f9ed5/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/configuration/hbase-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/configuration/hbase-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/configuration/hbase-site.xml
index b05338d..bf4af7d 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/configuration/hbase-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/configuration/hbase-site.xml
@@ -22,7 +22,7 @@
 <configuration>
   <property>
     <name>hbase.rootdir</name>
-    <value></value>
+    <value>hdfs://localhost:8020/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

http://git-wip-us.apache.org/repos/asf/ambari/blob/5d9f9ed5/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/package/scripts/hbase_master.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/package/scripts/hbase_master.py b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/package/scripts/hbase_master.py
index 3a1b4f1..9370ec4 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/package/scripts/hbase_master.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/package/scripts/hbase_master.py
@@ -55,13 +55,15 @@ class HbaseMaster(Script):
     )
     
 def main():
-  command_type = sys.argv[1] if len(sys.argv)>1 else "start"
+  command_type = sys.argv[1] if len(sys.argv)>1 else "install"
   print "Running "+command_type
-  command_data_file = '/root/workspace/HBase/input.json'
-  basedir = '/root/workspace/HBase/main'
-  sys.argv = ["", command_type, command_data_file, basedir]
+  command_data_file = '/var/lib/ambari-agent/data/command-3.json'
+  basedir = '/root/ambari/ambari-server/src/main/resources/stacks/HDP/2.0._/services/HBASE/package'
+  stroutputf = '/1.txt'
+  sys.argv = ["", command_type, command_data_file, basedir, stroutputf]
   
   HbaseMaster().execute()
   
 if __name__ == "__main__":
   HbaseMaster().execute()
+  #main()