You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/09/25 07:24:00 UTC
[jira] [Reopened] (AMBARI-22007) Addition of service component
after patching a service still keeps the component at base version
[ https://issues.apache.org/jira/browse/AMBARI-22007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doroszlai, Attila reopened AMBARI-22007:
----------------------------------------
Hi [~jonathan.hurley],
Changes for {{version_select_util.py}} and {{script.py}} are missing from the commits, but {{TestVersionSelectUtil.py}} was included, causing a python unit test failure:
{noformat:title=https://builds.apache.org/job/Ambari-trunk-Commit/8128/consoleText}
ERROR: test_get_component_version_from_symlink (TestVersionSelectUtil.TestVersionSelectUtil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestVersionSelectUtil.py", line 82, in test_get_component_version_from_symlink
version = self.module.get_component_version_from_symlink(None, "hadoop-hdfs-datanode")
AttributeError: 'module' object has no attribute 'get_component_version_from_symlink'
{noformat}
(Note: there are other, unrelated failures.)
> Addition of service component after patching a service still keeps the component at base version
> ------------------------------------------------------------------------------------------------
>
> Key: AMBARI-22007
> URL: https://issues.apache.org/jira/browse/AMBARI-22007
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.6.0
> Reporter: Vivek Sharma
> Assignee: Jonathan Hurley
> Priority: Critical
> Labels: patch-upgrade
> Fix For: 2.6.0
>
> Attachments: AMBARI-22007.patch
>
>
> *STR*
> # Deploy HDP-2.6.0.0 cluster with Ambari-2.6.0.0 (2.6.0.0-102)
> # Register VDF for Storm PU to 2.6.0.3-8
> # Perform a patch RU for Storm
> # Revert the patch
> # Perform a patch EU for Storm
> # Add Supervisor component on one of the hosts
> # Observe the version of Supervisor on newly added host
> *Result:*
> Supervisor still shows its version as the base version
> Looks like the issue is because while installing packages for Supervisor, hdp-select sets it at base-version
> {code}
> 2017-09-19 11:20:33,011 - Execute[('ambari-python-wrap', '/usr/bin/hdp-select', 'set', 'storm-supervisor', '2.6.0.0-598')] {'sudo': True}
> 2017-09-19 11:20:33,061 - After ('ambari-python-wrap', '/usr/bin/hdp-select', 'set', 'storm-supervisor', '2.6.0.0-598'), reloaded module params
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)