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 "Joep Rottinghuis (JIRA)" <ji...@apache.org> on 2011/08/22 21:08:29 UTC

[jira] [Updated] (HADOOP-7390) VersionInfo not generated properly in git after unsplit

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

Joep Rottinghuis updated HADOOP-7390:
-------------------------------------

    Affects Version/s: 0.22.0

This is a problem in 0.22 as well. Need to apply same patch.

> VersionInfo not generated properly in git after unsplit
> -------------------------------------------------------
>
>                 Key: HADOOP-7390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>            Reporter: Thomas Graves
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hadoop-7390.txt
>
>
> The version information generated during the build of common when running from git has revision and branch Unknown. I believe this started after the unsplit:
> @HadoopVersionAnnotation(version="0.22.0-SNAPSHOT", revision="Unknown", branch="Unknown",
>                          user="tgraves", date="Tue Jun 14 13:39:10 UTC 2011", url="file:///home/tgraves/git/hadoop-common/common",
>                          srcChecksum="0f78ea668971fe51e7ebf4f97f84eed2")
> The ./src/saveVersion.sh script which generates the package-info.java file with the version info looks for the presence of .git directory and that is now a level up instead of in the common directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira