ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-16683) Replace '*' to hdp version in lzo packages
Date Mon, 16 May 2016 15:56:13 GMT
Vitaly Brodetskyi created AMBARI-16683:
------------------------------------------

             Summary: 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


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)

Mime
View raw message