hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-7751) rpm version is not being picked from the -Dversion option in 205
Date Fri, 11 Nov 2011 02:26:51 GMT

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

Eric Yang resolved HADOOP-7751.
-------------------------------

    Resolution: Won't Fix

For maven, the number number includes -SNAPSHOT for on going builds.  Unfortunately, rpm/deb
packaging can not parse -SNAPSHOT from version number.  Ant property is immutable, it is not
possible to parse number from -SNAPSHOT.  Hence, the easiest thing is to use -Dhadoop.version
to control the version number for rpm/deb packaging.
                
> rpm version is not being picked from the -Dversion option in 205
> ----------------------------------------------------------------
>
>                 Key: HADOOP-7751
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7751
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Eric Yang
>
> ran ant build -Dversion=0.20.205.1.... and the rpm generated is the following
> hadoop-0.20.205.0-1.amd64.rpm
> Where as the tar.gz has the correct value
> hadoop-0.20.205.1.tar.gz
> the same version string should be applied to tarball and rpms

--
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