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 "Arpit Gupta (Created) (JIRA)" <ji...@apache.org> on 2011/10/15 23:54:12 UTC
[jira] [Created] (HADOOP-7751) rpm version is not being picked from
the -Dversion option in 205
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
[jira] [Reopened] (HADOOP-7751) rpm version is not being picked
from the -Dversion option in 205
Posted by "Matt Foley (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Foley reopened HADOOP-7751:
--------------------------------
Assignee: Giridharan Kesavan (was: Eric Yang)
I modified the wiki page HowToRelease to include the hadoop.version config in the build command.
Now the nightly build script at http://svn.apache.org/viewvc/hadoop/nightly/hudsonBuildHadoopRelease.sh?view=markup and related scripts should also have it added. Assigning to Giri.
> 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: Giridharan Kesavan
>
> 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
[jira] [Resolved] (HADOOP-7751) rpm version is not being picked
from the -Dversion option in 205
Posted by "Eric Yang (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (HADOOP-7751) rpm version is not being picked from
the -Dversion option in 205
Posted by "Matt Foley (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Foley updated HADOOP-7751:
-------------------------------
Target Version/s: 1.1.0 (was: 1.0.0)
> 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: Giridharan Kesavan
>
> 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