----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31777/#review75396 -----------------------------------------------------------
Ship it! Ship It! - Dmytro Sen On Март 5, 2015, 9:04 п.п., Dmitro Lisnichenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/31777/ > ----------------------------------------------------------- > > (Updated Март 5, 2015, 9:04 п.п.) > > > Review request for Ambari and Dmytro Sen. > > > Bugs: AMBARI-9951 > https://issues.apache.org/jira/browse/AMBARI-9951 > > > Repository: ambari > > > Description > ------- > > {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} > > > Diffs > ----- > > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py > 5819390 > ambari-server/src/test/python/custom_actions/TestInstallPackages.py 4975757 > > ambari-server/src/test/python/custom_actions/configs/install_packages_config.json > 4f262ea > > Diff: https://reviews.apache.org/r/31777/diff/ > > > Testing > ------- > > ---------------------------------------------------------------------- > Ran 234 tests in 6.845s > > OK > ---------------------------------------------------------------------- > Total run:609 > Total errors:0 > Total failures:0 > OK > > > Thanks, > > Dmitro Lisnichenko > >