Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-16683

Replace '*' with hdp version in lzo packages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server
    • None

    Description

      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:

      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
      

      Attachments

        1. AMBARI-16683.patch
          13 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: