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.

Unable to Upgrade to HDP 2.4.2 - Packages Not Installing on Edge Node

Highlighted

Unable to Upgrade to HDP 2.4.2 - Packages Not Installing on Edge Node

I am able to register HDP 2.4.2 in Ambari. Current version: HDP 2.3.2

All Packages were successfully installed on each Master and Data Node except Edge Node.

Edge Node has Ambari, Metrics, Grafana, Knox, Kafka, Nifi and Client deployed.

Ambari 2.2.2 was successfully upgraded.

Even with a Local repo, the Edge Node does not get installed with the HDP 2.4.2 packages.

In the ambari-server log the error is:

WARN [pool-3-thread-1] DistributeRepositoriesActionListener:106 - Distribute repositories did not complete, will set all INSTALLING versions for host edge.host.com to INSTALL_FAILED.

In Ambari error text:

2016-05-10 21:19:19,706 - Package Manager failed to install packages. Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.2.0-258,HDP-UTILS-2.4.2.0-258 'apache-maven-3.2*'' returned 1. Error: Nothing to do

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 386, in install_packages
    retry_count=agent_stack_retry_count)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, 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/package/__init__.py", line 54, in action_install
    self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package
    self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 83, in checked_call_with_retries
    return self._call_with_retries(cmd, is_checked=True, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 91, in _call_with_retries
    code, out = func(cmd, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
    raise Fail(err_msg)
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.2.0-258,HDP-UTILS-2.4.2.0-258 'apache-maven-3.2*'' returned 1. Error: Nothing to do
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 507, in <module>
    InstallPackages().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 164, in actionexecute
    raise Fail("Failed to distribute repositories/install packages")
resource_management.core.exceptions.Fail: Failed to distribute repositories/install packages
2 REPLIES 2
Highlighted

Re: Unable to Upgrade to HDP 2.4.2 - Packages Not Installing on Edge Node

@Ancil McBarnett is the edge node part of Ambari cluster? I.e, can you see the same in Hosts tab and does it show components installed?

Highlighted

Re: Unable to Upgrade to HDP 2.4.2 - Packages Not Installing on Edge Node

yes it is part of the cluster, and yes I can see it in the Hosts tab with all the components I quoted installed.

Don't have an account?
Coming from Hortonworks? Activate your account here