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

Update backend code to handle new versioning schema

    XMLWordPrintableJSON

Details

    Description

      The new module and mpack meta rpms will have be versioned as follows

      Mpack Versioning

      <MAJOR>.<MINOR>.<MAINT>-b<BUILDNUM>
      <MAJOR>.<MINOR>.<MAINT>-h<HOTFIXNUM>-b<BUILDNUM>
      

      Examples

      hdpcore 3.0.0-b123
      hdpcore 3.0.0-h7-b111
      
      edw 1.0.0-b234
      edw 1.0.0-h15-b7
      

      Module Versioning

      <APACHE-MAJOR>.<APACHE-MINOR>.<HWX-MINOR>.<HWX-MAINT>-b<BUILDNUM>
      <APACHE-MAJOR>.<APACHE-MINOR>.<HWX-MINOR>.<HWX-MAINT>-h<HOTFIXNUM>-b<BUILDNUM>
      

      Examples

      hdfs 3.0.0.1-b123
      hdfs 3.0.1.0-h77-b11
      
      zookeeper 3.5.1.0-b111
      zookeeper 3.5.1.1-h21-b10
      

      We need the BE code (java, python) to handle this versioning schema while comparing versions, formatting versions etc.

      Attachments

        1. AMBARI-22817.patch
          26 kB
          Vitaly Brodetskyi
        2. AMBARI-22817_part2.patch
          16 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:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 40m
                  3h 40m