hadoop-common-issues mailing list archives

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

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

Hudson commented on HADOOP-8340:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2233 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2233/])
    HDFS-3341, HADOOP-8340. SNAPSHOT build versions should compare as less than their eventual
release. Contributed by Todd Lipcon. (Revision 1336459)

     Result = ABORTED
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1336459
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestVersionUtil.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java

                
> 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
>             Fix For: 2.0.0
>
>         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