This is an automated email from the ASF dual-hosted git repository.
swagle pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new fd46cc5 AMBARI-22918 Decommission RegionServer fails when kerberos is
enabled
fd46cc5 is described below
commit fd46cc507d93a7f069df523997c16f7336b45302
Author: Toshihiro Suzuki <[email protected]>
AuthorDate: Tue Feb 6 17:33:42 2018 +0900
AMBARI-22918 Decommission RegionServer fails when kerberos is enabled
---
.../HBASE/0.96.0.2.0/package/scripts/hbase_decommission.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_decommission.py
b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_decommission.py
index 7358674..5853f75 100644
---
a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_decommission.py
+++
b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_decommission.py
@@ -64,7 +64,7 @@ def hbase_decommission(env):
for host in hosts:
if host:
regiondrainer_cmd = format(
- "{kinit_cmd} {hbase_cmd} --config {hbase_conf_dir}
{master_security_config} org.jruby.Main {region_drainer} remove {host}")
+ "{kinit_cmd} HBASE_OPTS=\"$HBASE_OPTS {master_security_config}\"
{hbase_cmd} --config {hbase_conf_dir} org.jruby.Main {region_drainer} remove
{host}")
Execute(regiondrainer_cmd,
user=params.hbase_user,
logoutput=True
@@ -76,9 +76,9 @@ def hbase_decommission(env):
for host in hosts:
if host:
regiondrainer_cmd = format(
- "{kinit_cmd} {hbase_cmd} --config {hbase_conf_dir}
{master_security_config} org.jruby.Main {region_drainer} add {host}")
+ "{kinit_cmd} HBASE_OPTS=\"$HBASE_OPTS {master_security_config}\"
{hbase_cmd} --config {hbase_conf_dir} org.jruby.Main {region_drainer} add
{host}")
regionmover_cmd = format(
- "{kinit_cmd} {hbase_cmd} --config {hbase_conf_dir}
{master_security_config} org.jruby.Main {region_mover} unload {host}")
+ "{kinit_cmd} HBASE_OPTS=\"$HBASE_OPTS {master_security_config}\"
{hbase_cmd} --config {hbase_conf_dir} org.jruby.Main {region_mover} unload
{host}")
Execute(regiondrainer_cmd,
user=params.hbase_user,
--
To stop receiving notification emails like this one, please contact
[email protected].