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

VersionUtil returns wrong value when comparing two versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • None
    • None
    • Reviewed

    Description

      VersionUtil.compareVersions("1.0.0-beta-1", "1.0.0") returns 7 instead of negative number, which is wrong, because 1.0.0-beta-1 older than 1.0.0.

      Attachments

        1. HADOOP-10250.001.patch
          24 kB
          Yongjun Zhang
        2. HADOOP-10250.002.patch
          24 kB
          Yongjun Zhang
        3. HADOOP-10250.003.patch
          24 kB
          Yongjun Zhang
        4. HADOOP-10250.004.patch
          24 kB
          Yongjun Zhang
        5. HADOOP-10250.004.patch
          24 kB
          Yongjun Zhang

        Activity

          People

            yzhangal Yongjun Zhang
            yzhangal Yongjun Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: