hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8340) SNAPSHOT build versions should compare as less than their eventual final release
Date Tue, 01 May 2012 20:14:48 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266024#comment-13266024
] 

Todd Lipcon commented on HADOOP-8340:
-------------------------------------

Worth noting that when we commit this, we also have to commit a change to HDFS to make the
new minimum version 2.0.0-SNAPSHOT instead of 2.0.0. Then when we cut a 2.0 release candidate,
we need to change the minimum back to 2.0.0 to disallow snapshots from connecting to 2.0.0
clusters.
                
> 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
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message