ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject ambari git commit: AMBARI-14718. on region server restart ambari is setting /tmp to hbase:hadoop (aonishuk)
Date Wed, 20 Jan 2016 19:21:41 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 8220dd883 -> 8926b86b0


AMBARI-14718. on region server restart ambari is setting /tmp to hbase:hadoop (aonishuk)


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

Branch: refs/heads/branch-2.2
Commit: 8926b86b00f56b252675b43f232c04f602c19d04
Parents: 8220dd8
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Wed Jan 20 21:21:07 2016 +0200
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Wed Jan 20 21:21:29 2016 +0200

----------------------------------------------------------------------
 .../HBASE/0.96.0.2.0/package/scripts/hbase.py                | 4 +---
 .../HBASE/0.96.0.2.0/package/scripts/params_linux.py         | 2 --
 .../src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py  | 4 ----
 .../src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py  | 6 ------
 .../python/stacks/2.0.6/HBASE/test_hbase_regionserver.py     | 8 --------
 .../python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py    | 4 ----
 6 files changed, 1 insertion(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8926b86b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py
b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py
index 2b2cf1e..d78c664 100644
--- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py
+++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py
@@ -57,10 +57,8 @@ def hbase(name=None):
   )
 
   Directory(params.java_io_tmpdir,
-      owner = params.hbase_user,
-      group = params.user_group,
       recursive = True,
-      mode=0777
+      mode=0777,
   )
 
   parent_dir = os.path.dirname(params.tmp_dir)

http://git-wip-us.apache.org/repos/asf/ambari/blob/8926b86b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
index 7deef41..27a4e84 100644
--- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
@@ -37,8 +37,6 @@ from resource_management.libraries.functions import get_unique_id_and_date
 from resource_management.libraries.script.script import Script
 
 
-from resource_management.libraries.functions.substitute_vars import substitute_vars
-
 # server configurations
 config = Script.get_config()
 exec_tmp_dir = Script.get_tmp_dir()

http://git-wip-us.apache.org/repos/asf/ambari/blob/8926b86b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py
index 9c6e96a..1374e71 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py
@@ -47,8 +47,6 @@ class TestHBaseClient(RMFTestCase):
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )
@@ -145,8 +143,6 @@ class TestHBaseClient(RMFTestCase):
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )

http://git-wip-us.apache.org/repos/asf/ambari/blob/8926b86b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py
index 0f1d810..80f1a15 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py
@@ -236,8 +236,6 @@ class TestHBaseMaster(RMFTestCase):
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )
@@ -370,8 +368,6 @@ class TestHBaseMaster(RMFTestCase):
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )
@@ -513,8 +509,6 @@ class TestHBaseMaster(RMFTestCase):
       group = 'hadoop',
       recursive = True)
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )

http://git-wip-us.apache.org/repos/asf/ambari/blob/8926b86b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py
index d105c18..6ea0bdc 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py
@@ -136,8 +136,6 @@ class TestHbaseRegionServer(RMFTestCase):
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )
@@ -234,8 +232,6 @@ class TestHbaseRegionServer(RMFTestCase):
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )
@@ -342,8 +338,6 @@ class TestHbaseRegionServer(RMFTestCase):
       group = 'hadoop',
       recursive = True)
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )
@@ -460,8 +454,6 @@ class TestHbaseRegionServer(RMFTestCase):
       group = 'hadoop',
       recursive = True)
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )

http://git-wip-us.apache.org/repos/asf/ambari/blob/8926b86b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py
b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py
index bd1313b..7328f36 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py
@@ -237,8 +237,6 @@ class TestPhoenixQueryServer(RMFTestCase):
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )
@@ -350,8 +348,6 @@ class TestPhoenixQueryServer(RMFTestCase):
       recursive = True,
     )
     self.assertResourceCalled('Directory', '/tmp',
-      owner = 'hbase',
-      group = 'hadoop',
       recursive = True,
       mode = 0777
     )


Mime
View raw message