Quantcast
Viewing all articles
Browse latest Browse all 3435

Fail to Add HBASE service to the cluster via Ambari

Trying to add HBASE service through Ambari add service wizard. But it’s failing to install both Hbase master and slave. It’s giving the following error.

2015-07-28 15:09:33,275 – Error while executing command ‘any':
Traceback (most recent call last):
File “/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py”, line 214, in execute
method(env)
File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py”, line 30, in hook
setup_users()
File “/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py”, line 85, in setup_users
cd_access=”a”,
File “/usr/lib/python2.6/site-packages/resource_management/core/base.py”, line 148, in __init__
self.env.run()
File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 152, in run
self.run_action(resource, action)
File “/usr/lib/python2.6/site-packages/resource_management/core/environment.py”, line 118, in run_action
provider_action()
File “/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py”, line 165, in action_create
sudo.makedirs(path, self.resource.mode or 0755)
File “/usr/lib/python2.6/site-packages/resource_management/core/sudo.py”, line 43, in makedirs
shell.checked_call([“mkdir”, “-p”, path], sudo=True)
File “/usr/lib/python2.6/site-packages/resource_management/core/shell.py”, line 70, in inner
return function(command, **kwargs)
File “/usr/lib/python2.6/site-packages/resource_management/core/shell.py”, line 82, in checked_call
return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout, path, sudo, on_new_line)
File “/usr/lib/python2.6/site-packages/resource_management/core/shell.py”, line 199, in _call
raise Fail(err_msg)
Fail: Execution of ‘mkdir -p /etc/resolv.conf/hadoop/hbase’ returned 1. mkdir: cannot create directory `/etc/resolv.conf': Not a directory
Error: Error: Unable to run the custom hook script [‘/usr/bin/python2.6′, ‘/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py’, ‘ANY’, ‘/var/lib/ambari-agent/data/command-1156.json’, ‘/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY’, ‘/var/lib/ambari-agent/data/structured-out-1156.json’, ‘INFO’, ‘/var/lib/ambari-agent/data/tmp’]


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>