Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8340

SNAPSHOT build versions should compare as less than their eventual final release

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • util
    • None

    Description

      We recently added a utility function to compare two version strings, based on splitting on '.'s and comparing each component. However, it considers a version like 2.0.0-SNAPSHOT as being greater than 2.0.0. This isn't right, since SNAPSHOT builds come before the final release.

      Attachments

        1. hadoop-8340.txt
          5 kB
          Todd Lipcon
        2. hadoop-8340.txt
          5 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: