hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8924) Hadoop Common creating package-info.java must not depend on sh, at least for Windows
Date Tue, 04 Dec 2012 21:00:59 GMT

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

Chris Nauroth commented on HADOOP-8924:
---------------------------------------

On branch-trunk-win, when we converted to Python, I consolidated to a single copy of saveVersion.py
in /dev-support, which is used by both sub-modules.  I needed to introduce some additional
arguments to the script so that it could be parameterized differently for hadoop-common vs.
hadoop-yarn-common.  It didn't add much complexity, and it eliminated the need to maintain
2 different copies of the same code.  We could take the same approach to parameterize the
equivalent Java code (or whatever else).
                
> Hadoop Common creating package-info.java must not depend on sh, at least for Windows
> ------------------------------------------------------------------------------------
>
>                 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

Mime
View raw message