Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

receiving "returned 1. symlink target /usr/hdp/current/hive-webhcat for hive-hcatalog already exists and it is not a symlink." error message during cluster install

Highlighted

receiving "returned 1. symlink target /usr/hdp/current/hive-webhcat for hive-hcatalog already exists and it is not a symlink." error message during cluster install

Hi,

I'm receiving error message below at deployment stage of ambari cluster installation:

"2018-04-26 12:02:10,457 - Could not determine stack version for component hive-webhcat by calling '/usr/bin/hdp-select status hive-webhcat > /tmp/tmpHA7LTU'. Return Code: 1, Output: . 2018-04-26 12:02:10,477 - The 'hive-webhcat' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.6.0.3-8). This is the version that will be reported. 2018-04-26 12:02:10,870 - Could not determine stack version for component hive-webhcat by calling '/usr/bin/hdp-select status hive-webhcat > /tmp/tmp6txYEn'. Return Code: 1, Output: . 2018-04-26 12:02:10,890 - The 'hive-webhcat' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.6.0.3-8). This is the version that will be reported. 2018-04-26 12:02:11,160 - Could not determine stack version for component hive-webhcat by calling '/usr/bin/hdp-select status hive-webhcat > /tmp/tmpcrXf4S'. Return Code: 1, Output: . 2018-04-26 12:02:11,182 - The 'hive-webhcat' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (2.6.0.3-8). This is the version that will be reported. Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module> AfterInstallHook().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/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 31, in hook setup_stack_symlinks(self.stroutfile) File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 62, in setup_stack_symlinks stack_select.select(package, json_version) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/stack_select.py", line 313, in select Execute(command, sudo=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 'ambari-python-wrap /usr/bin/hdp-select set hive-webhcat 2.6.0.3-8' returned 1. symlink target /usr/hdp/current/hive-webhcat for hive-hcatalog already exists and it is not a symlink."

any advise will be appreciated.

Regards.

3 REPLIES 3
Highlighted

Re: receiving "returned 1. symlink target /usr/hdp/current/hive-webhcat for hive-hcatalog already exists and it is not a symlink." error message during cluster install

Any update?

Highlighted

Re: receiving "returned 1. symlink target /usr/hdp/current/hive-webhcat for hive-hcatalog already exists and it is not a symlink." error message during cluster install

Is there anyone faced with the same issue and knows the solution or have any idea regarding the problem?

Regards.

Highlighted

Re: receiving "returned 1. symlink target /usr/hdp/current/hive-webhcat for hive-hcatalog already exists and it is not a symlink." error message during cluster install

Super Collaborator

Is this happening on the first installation of your cluster? Or what has been installed before?

Also try to post the output of the following command, to check if there really is a directory or file, or if it is perhaps a permission issue?

ls -l /usr/hdp/current/hive-webhcat
Don't have an account?
Coming from Hortonworks? Activate your account here