Member since
11-26-2019
1
Post
0
Kudos Received
0
Solutions
09-14-2020
02:26 AM
Hello Have the same error and are hoping for a response to the question at hand. Getting error when trying to decom a RS. stderr : /var/lib/ambari-agent/data/errors-3752.txt Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py", line 111, in <module>
HbaseMaster().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 375, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py", line 55, in decommission
hbase_decommission(env)
File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
return fn(*args, **kwargs)
File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_decommission.py", line 84, in hbase_decommission
logoutput=True
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/kinit -kt /etc/security/keytabs/hbase.service.keytab hbase/sktp2hhdp1mn03.xxxx.xx@XXXX.XX; /usr/hdp/current/hbase-master/bin/hbase --config /usr/hdp/current/hbase-master/conf -Djava.security.auth.login.config=/usr/hdp/current/hbase-master/conf/hbase_master_jaas.conf org.jruby.Main /usr/hdp/current/hbase-master/bin/draining_servers.rb add sktp2hhdp1nn05.xxxx.xx' returned 1. Error: Could not find or load main class org.jruby.Main stdout : /var/lib/ambari-agent/data/output-3752.txt 2020-09-14 11:18:32,905 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=2.6.4.0-91 -> 2.6.4.0-91
2020-09-14 11:18:32,914 - Using hadoop conf dir: /usr/hdp/2.6.4.0-91/hadoop/conf
2020-09-14 11:18:32,918 - checked_call['hostid'] {}
2020-09-14 11:18:32,933 - checked_call returned (0, 'd70a5240')
2020-09-14 11:18:32,941 - File['/usr/hdp/current/hbase-master/bin/draining_servers.rb'] {'content': StaticFile('draining_servers.rb'), 'mode': 0755}
2020-09-14 11:18:32,943 - Execute['/usr/bin/kinit -kt /etc/security/keytabs/hbase.service.keytab hbase/sktp2hhdp1mn03.xxxx.xx@XXXX.XX; /usr/hdp/current/hbase-master/bin/hbase --config /usr/hdp/current/hbase-master/conf -Djava.security.auth.login.config=/usr/hdp/current/hbase-master/conf/hbase_master_jaas.conf org.jruby.Main /usr/hdp/current/hbase-master/bin/draining_servers.rb add sktp2hhdp1nn05.xxxx.xx'] {'logoutput': True, 'user': 'hbase'}
Error: Could not find or load main class org.jruby.Main
Command failed after 1 tries
... View more