hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Foley (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (HADOOP-8924) Hadoop Common creating package-info.java must not depend on sh
Date Tue, 04 Dec 2012 20:50:58 GMT

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

Matt Foley reopened HADOOP-8924:

After discussion in common-dev@, the community consensus rejected use of Python. (see references
in HADOOP-9082)  Also, it was encouraged to take functionality out of scripts and move it
into core code.

I suggest that we convert saveVersion.sh to Java, and change the ant script to a recursive
call that compiles the java class and then invokes it.  Same thing should work in trunk, but
be aware there are two instances of saveVersion.sh in trunk: hadoop-common-project/hadoop-common/dev-support/saveVersion.sh
and hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/scripts/saveVersion.sh.  They are slightly
different, but I suspect that can and should be subsumed.

> Hadoop Common creating package-info.java must not depend on sh
> --------------------------------------------------------------
>                 Key: HADOOP-8924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8924
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: trunk-win
>         Attachments: HADOOP-8924-branch-trunk-win.patch
> Currently, the build process relies on saveVersion.sh to generate package-info.java with
a version annotation.  The sh binary may not be available on all developers' machines (e.g.
Windows without Cygwin). This issue tracks removal of that dependency in Hadoop Common.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message