----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62888/#review187649 -----------------------------------------------------------
Ship it! Ship It! - Vitalyi Brodetskyi On Жов. 11, 2017, 12:29 після полудня, Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62888/ > ----------------------------------------------------------- > > (Updated Жов. 11, 2017, 12:29 після полудня) > > > Review request for Ambari and Vitalyi Brodetskyi. > > > Bugs: AMBARI-22203 > https://issues.apache.org/jira/browse/AMBARI-22203 > > > Repository: ambari > > > Description > ------- > > 1\. HDP-2.4.3.0-227 is installed on Ambari-2.5.2.0 (with HA) > 2\. Ambari is upgraded to Ambari-2.6.0.0 > 3\. Code tries to get version of zkfc from hdp-select to advertise it. However > hdp-select 2.4.3.0 does not support zkfc package > > > > [root@aonishuk-gc6402-1 yum.repos.d]# rpm -q hdp-select > hdp-select-2.4.3.0-227.el6.noarch > [root@aonishuk-gc6402-1 yum.repos.d]# hdp-select packages | grep zkfc > [root@aonishuk-gc6402-1 yum.repos.d]# > > > vs > > > > [root@natr76-nbzs-dgtofnmlevelha-r7-1 ~]# rpm -q hdp-select > hdp-select-2.5.3.0-37.el6.noarch > [root@natr76-nbzs-dgtofnmlevelha-r7-1 ~]# hdp-select packages | grep zkfc > hadoop-hdfs-zkfc > > > > Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", > line 43, in <module> > BeforeStartHook().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 374, in execute > self.save_component_version_to_structured_out(self.command_name) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 244, in save_component_version_to_structured_out > stack_select_package_name = stack_select.get_package_name() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/stack_select.py", > line 109, in get_package_name > package = get_packages(PACKAGE_SCOPE_STACK_SELECT, service_name, > component_name) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/stack_select.py", > line 234, in get_packages > raise Fail("The package {0} is not supported by this version of the > stack-select tool.".format(package)) > resource_management.core.exceptions.Fail: The package hadoop-hdfs-zkfc is > not supported by this version of the stack-select tool. > > > Diffs > ----- > > > ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_packages.json > 2db0a74195 > > > Diff: https://reviews.apache.org/r/62888/diff/1/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
