[
https://issues.apache.org/jira/browse/AMBARI-9951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950119#comment-14950119
]
Sebastian Zimmermann commented on AMBARI-9951:
----------------------------------------------
We are seeing this issue when upgrading HDP 2.2 to 2.3 (with Ambari 2.1 / SLES
11 SP3)
{code}
No handlers could be found for logger "root"
2015-10-06 15:38:00,208 - Package Manager failed to install packages. Error:
Execution of '/usr/bin/zypper --quiet install --auto-agree-with-licenses
--no-confirm --repo HDP-2.3.0.0-2557 --repo HDP-UTILS-2.3.0.0-2557
'hadooplzo_2_3_0_0_2557*'' returned 4. Problem: nothing provides
libjvm.so()(64bit) needed by
hadooplzo_2_3_0_0_2557-native-0.6.0.2.3.0.0-2557.x86_64
Solution 1: do not install
hadooplzo_2_3_0_0_2557-native-0.6.0.2.3.0.0-2557.x86_64
Solution 2: break hadooplzo_2_3_0_0_2557-native-0.6.0.2.3.0.0-2557.x86_64 by
ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c): c
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
line 233, in install_packages
skip_repos=[self.REPO_FILE_NAME_PREFIX + "*"] if OSCheck.is_redhat_family()
else [])
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
157, 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/package/__init__.py",
line 45, 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/zypper.py",
line 70, in install_package
shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
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/zypper --quiet install --auto-agree-with-licenses
--no-confirm --repo HDP-2.3.0.0-2557 --repo HDP-UTILS-2.3.0.0-2557
'hadooplzo_2_3_0_0_2557*'' returned 4. Problem: nothing provides
libjvm.so()(64bit) needed by
hadooplzo_2_3_0_0_2557-native-0.6.0.2.3.0.0-2557.x86_64
Solution 1: do not install
hadooplzo_2_3_0_0_2557-native-0.6.0.2.3.0.0-2557.x86_64
Solution 2: break hadooplzo_2_3_0_0_2557-native-0.6.0.2.3.0.0-2557.x86_64 by
ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c): c
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
line 312, in <module>
InstallPackages().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 218, in execute
method(env)
File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
line 162, in actionexecute
raise Fail("Failed to distribute repositories/install packages")
resource_management.core.exceptions.Fail: Failed to distribute
repositories/install packages
{code}
> hadooplzo_2_2_2_0_2538-native can not be upgraded during RU
> -----------------------------------------------------------
>
> Key: AMBARI-9951
> URL: https://issues.apache.org/jira/browse/AMBARI-9951
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-9951.2.patch, AMBARI-9951.patch
>
>
> {code}
> 2015-03-05 13:43:38,414 - Installing package lzo ('/usr/bin/zypper --quiet
> install --auto-agree-with-licenses --no-confirm --repo HDP-UTILS-2.2.2.0-2538
> --repo HDP-2.2.2.0-2538 lzo')
> 2015-03-05 13:43:44,829 - u"Package['hadooplzo_2_2_2_0_2538*']" {'use_repos':
> ['base', 'HDP-UTILS-2.2.2.0-2538', 'HDP-2.2.2.0-2538']}
> 2015-03-05 13:43:45,787 - Installing package hadooplzo_2_2_2_0_2538*
> ('/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm
> --repo HDP-UTILS-2.2.2.0-2538 --repo HDP-2.2.2.0-2538
> 'hadooplzo_2_2_2_0_2538*'')
> Can not install packages.
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
> line 96, in actionexecute
> Package(name, use_repos=list(current_repo_files) if
> OSCheck.is_ubuntu_family() else current_repositories)
> 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/package/__init__.py",
> line 43, in action_install
> self.install_package(package_name, self.resource.use_repos)
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/zypper.py",
> line 72, in install_package
> shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
> 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 '/usr/bin/zypper --quiet install
> --auto-agree-with-licenses --no-confirm --repo HDP-UTILS-2.2.2.0-2538 --repo
> HDP-2.2.2.0-2538 'hadooplzo_2_2_2_0_2538*'' returned 4. Problem: nothing
> provides libjvm.so()(64bit) needed by
> hadooplzo_2_2_2_0_2538-native-0.6.0.2.2.2.0-2538.x86_64
> Solution 1: do not install
> hadooplzo_2_2_2_0_2538-native-0.6.0.2.2.2.0-2538.x86_64
> Solution 2: break hadooplzo_2_2_2_0_2538-native-0.6.0.2.2.2.0-2538.x86_64 by
> ignoring some of its dependencies
> Choose from above solutions by number or cancel [1/2/c] (c): c
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)