You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2016/05/16 15:57:13 UTC

[jira] [Updated] (AMBARI-16683) Replace '*' to hdp version in lzo packages

     [ https://issues.apache.org/jira/browse/AMBARI-16683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitaly Brodetskyi updated AMBARI-16683:
---------------------------------------
    Attachment: AMBARI-16683.patch

> Replace '*' to hdp version in lzo packages
> ------------------------------------------
>
>                 Key: AMBARI-16683
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16683
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16683.patch
>
>
> As i understood(according to discussion with Andrew O) we had some jira for '*' to hdp version replacement in all packages. But here it was not replaced:
> {code}
> def get_lzo_packages(stack_version_unformatted):
>   lzo_packages = []
>  
>   if OSCheck.is_redhat_family() or OSCheck.is_suse_family():
>     lzo_packages += ["lzo", "hadoop-lzo-native"]
>   elif OSCheck.is_ubuntu_family():
>     lzo_packages += ["liblzo2-2"]
>   if stack_version_unformatted and check_stack_feature(StackFeature.ROLLING_UPGRADE, stack_version_unformatted):
>     lzo_packages += ["hadooplzo_*"]
>   else:
>     lzo_packages += ["hadoop-lzo"]
>   return lzo_packages
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)