You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arun C Murthy (JIRA)" <ji...@apache.org> on 2012/10/11 19:45:29 UTC

[jira] [Closed] (HADOOP-8340) SNAPSHOT build versions should compare as less than their eventual final release

     [ https://issues.apache.org/jira/browse/HADOOP-8340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy closed HADOOP-8340.
---------------------------------

    
> SNAPSHOT build versions should compare as less than their eventual final release
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-8340
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8340
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 2.0.0-alpha
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 2.0.2-alpha
>
>         Attachments: hadoop-8340.txt, hadoop-8340.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira