You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Opher Shachar (JIRA)" <ji...@apache.org> on 2019/04/16 17:13:00 UTC

[jira] [Created] (AMBARI-25255) The Cluster Install Wizard fails on task DRPC Server Install

Opher Shachar created AMBARI-25255:
--------------------------------------

             Summary: The Cluster Install Wizard fails on task DRPC Server Install
                 Key: AMBARI-25255
                 URL: https://issues.apache.org/jira/browse/AMBARI-25255
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
    Affects Versions: 2.7.3
         Environment: CentOS 7.6

Ambari 2.7.3

HDP 3.1.0

Install on single-server as Non-Root
            Reporter: Opher Shachar


Installing HDF 3.4.0. The documentation starts me up with Ambari 2.7.3 that goes on to install HDP 3.1.0.

I'm installing on a single server as Non-Root following the documentation [here|https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/securing-credentials/content/ambari_sec_how_to_configure_ambari_server_for_non_root.html] and [here|https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/securing-credentials/content/ambari_sec_how_to_configure_an_ambari_agent_for_non_root.html].

When installation starts (after pressing Deploy) I get a failure during "DRPC Server Install"
{noformat}
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/hook.py", line 39, in <module>
    AfterInstallHook().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/hook.py", line 32, in hook
    setup_stack_symlinks(self.stroutfile)
  File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/shared_initialization.py", line 66, in setup_stack_symlinks
    stack_select.select(package, json_version)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 312, in select
    Execute(command, sudo=True)
  File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
    self.env.run()
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run
    returns=self.resource.returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-python-wrap /usr/bin/hdp-select set storm-client 3.1.0.0-78' returned 1. symlink target /usr/hdp/current/storm-client for storm already exists and it is not a symlink.
{noformat}
The workaround is to do the following:
{code:sh}
cd /usr/hdp/current
rm -rf storm-client
ln -s /usr/hdp/3.1.0.0-78/storm storm-client
{code}
and retry.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)