This is an automated email from the ASF dual-hosted git repository.
rlevas pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.6 by this push:
new 9b499f4 AMBARI-22918 Decommission RegionServer fails when kerberos is
enabled
9b499f4 is described below
commit 9b499f49087a56772be3c281935bac3f771d7ca3
Author: Toshihiro Suzuki
AuthorDate: Thu Feb 15 12:06:32 2018 +0900
AMBARI-22918 Decommission RegionServer fails when kerberos is enabled
---
.../test/python/stacks/2.0.6/HBASE/test_hbase_master.py| 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
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 e31b7e5..678e86e 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
@@ -185,19 +185,19 @@ class TestHBaseMaster(RMFTestCase):
content = StaticFile('draining_servers.rb'),
mode = 0755,
)
-self.assertResourceCalled('Execute', ' /usr/lib/hbase/bin/hbase --config
/etc/hbase/conf org.jruby.Main /usr/lib/hbase/bin/draining_servers.rb add
host1',
+self.assertResourceCalled('Execute', ' HBASE_OPTS="$HBASE_OPTS "
/usr/lib/hbase/bin/hbase --config /etc/hbase/conf org.jruby.Main
/usr/lib/hbase/bin/draining_servers.rb add host1',
logoutput = True,
user = 'hbase',
)
-self.assertResourceCalled('Execute', ' /usr/lib/hbase/bin/hbase --config
/etc/hbase/conf org.jruby.Main /usr/lib/hbase/bin/region_mover.rb unload
host1',
+self.assertResourceCalled('Execute', ' HBASE_OPTS="$HBASE_OPTS "
/usr/lib/hbase/bin/hbase --config /etc/hbase/conf org.jruby.Main
/usr/lib/hbase/bin/region_mover.rb unload host1',
logoutput = True,
user = 'hbase',
)
-self.assertResourceCalled('Execute', ' /usr/lib/hbase/bin/hbase --config
/etc/hbase/conf org.jruby.Main /usr/lib/hbase/bin/draining_servers.rb add
host2',
+self.assertResourceCalled('Execute', ' HBASE_OPTS="$HBASE_OPTS "
/usr/lib/hbase/bin/hbase --config /etc/hbase/conf org.jruby.Main
/usr/lib/hbase/bin/draining_servers.rb add host2',
logoutput = True,
user = 'hbase',
)
-self.assertResourceCalled('Execute', ' /usr/lib/hbase/bin/hbase --config
/etc/hbase/conf org.jruby.Main /usr/lib/hbase/bin/region_mover.rb unload
host2',
+self.assertResourceCalled('Execute', ' HBASE_OPTS="$HBASE_OPTS "
/usr/lib/hbase/bin/hbase --config /etc/hbase/conf org.jruby.Main
/usr/lib/hbase/bin/region_mover.rb unload host2',
logoutput = True,
user = 'hbase',
)
@@ -216,7 +216,7 @@ class TestHBaseMaster(RMFTestCase):
content = StaticFile('draining_servers.rb'),
mode = 0755,
)
-self.assertResourceCalled('Execute', ' /usr/lib/hbase/bin/hbase --config
/etc/hbase/conf org.jruby.Main /usr/lib/hbase/bin/draining_servers.rb remove
host1',
+self.assertResourceCalled('Execute', ' HBASE_OPTS="$HBASE_OPTS "
/usr/lib/hbase/bin/hbase --config /etc/hbase/conf org.jruby.Main
/usr/lib/hbase/bin/draining_servers.rb remove host1',
logoutput = True,
user = 'hbase',
)
@@ -284,11 +284,11 @@ class TestHBaseMaster(RMFTestCase):
content = StaticFile('draining_servers.rb'),
mode = 0755,
)
-self.assertResourceCalled('Execute', '/usr/bin/kinit -kt
/etc/security/keytabs/hbase.service.keytab
hbase/c6401.ambari.apache@example.com; /usr/lib/hbase/bin/hbase --config
/etc/hbase/conf
-Djava.security.auth.login.config=/etc/hbase/conf/hbase_master_jaas.conf
org.jruby.Main /usr/lib/hbase/bin/draining_servers.rb add host1',
+self.assertResourceCalled('Execute', '/usr/bin/kinit -kt
/etc/security/keytabs/hbase.service.keytab
hbase/c6401.ambari.apache@example.com; HBASE_OPTS="$HBASE_OPTS
-Djava.security.auth.login.config=/etc/hbase/conf/hbase_master_jaas.conf"
/usr/lib/hbase/bin/hbase --config /etc/hbase/conf org.jruby.Main
/usr/lib/hbase/bin/draining_servers.rb add host1',
logoutput = True,
user = 'hbase',
)
-self.assertResourceCalled('Execute', '/usr/bin/kinit -kt
/etc/security/keytabs/hbase.servi