Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
New Contributor

Error Stack is below.

Package Manager failed to install packages. Error: (4, 'Interrupted system call')
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 376, in install_packages
    retry_count=agent_stack_retry_count
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, 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 58, in action_upgrade
    self.upgrade_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 56, in upgrade_package
    return self.install_package(name, use_repos, skip_repos, is_upgrade)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 51, 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 86, 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 98, in _call_with_retries
    code, out = func(cmd, **kwargs)
  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 251, in _call
    ready, _, _ = select.select(read_set, [], [], 1)
error: (4, 'Interrupted system call')

1) Navigate to "/etc/yum.repos.d"

a) Check if there are any other HDP repositories present other than current version and target version repos.

b) Remove all other HDP repositories from "/etc/yum.repos.d" directory.

c) Run "yum clean all"

d) retry the installation from Ambari UI.

2) Manually run "yum info <package name>" on the node and verify the package information is being listed within expected timeframe.

a) If response from yum is slow, please check the "load average" on the node using "top" command.

b) If the load average is high, that could cause the system to slow down and hence yum commands to hang.

c) Please identify the cause using ‘Sysstat’ Utilities.

3) Increase package installation timeout.

a) Login to Ambari server terminal session.

b) vi /etc/ambari-server/conf/ambari.properties

c) Increase the timeout value for "agent.package.install.task.timeout".

d) Run "ambari-server restart"

1,015 Views
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎05-10-2017 06:09 PM
Updated by:
 
Contributors
Top Kudoed Authors