----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52829/#review152502 -----------------------------------------------------------
Ship it! Ship It! - Dmytro Sen On Окт. 13, 2016, 2:43 п.п., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/52829/ > ----------------------------------------------------------- > > (Updated Окт. 13, 2016, 2:43 п.п.) > > > Review request for Ambari and Vitalyi Brodetskyi. > > > Bugs: AMBARI-18589 > https://issues.apache.org/jira/browse/AMBARI-18589 > > > Repository: ambari > > > Description > ------- > > HCat client install during Ambari install wizard as yum install mysql- > connector-java command failed. > > Live cluster from nightly [May get killed within few hours](https://hortonwork > s.jira.com/wiki/display/BUG/May+get+killed+within+few+hours): > <http://172.22.109.167:8080/> > > > > > Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", > line 85, in <module> > HCatClient().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 280, in execute > method(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", > line 35, in install > self.install_packages(env) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 567, 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 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 > 71, in inner > result = function(command, **kwargs) > File > "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line > 93, in checked_call > tries=tries, try_sleep=try_sleep) > File > "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line > 141, in _call_wrapper > result = _call(command, **kwargs_copy) > File > "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line > 294, in _call > raise Fail(err_msg) > resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 > -e 0 -y install mysql-connector-java' returned 1. Error: failure: > repodata/12897763d92966a7a56d2d2f20c2251ebe89e068afde5185bcd62612a3577428-filelists.sqlite.bz2 > from updates: [Errno 256] No more mirrors to try. > > > Diffs > ----- > > ambari-agent/src/test/python/resource_management/TestPackageResource.py > 1f2250d > ambari-common/src/main/python/resource_management/core/exceptions.py > 25e7993 > > ambari-common/src/main/python/resource_management/core/providers/package/__init__.py > 04da9b6 > > ambari-common/src/main/python/resource_management/core/providers/package/apt.py > 476e39b > > ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py > 0739f66 > > ambari-common/src/main/python/resource_management/core/providers/package/zypper.py > 4681b49 > ambari-common/src/main/python/resource_management/core/shell.py 94933bd > > ambari-common/src/main/python/resource_management/libraries/functions/get_user_call_output.py > 4b11614 > > Diff: https://reviews.apache.org/r/52829/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >