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 "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2012/10/19 05:44:04 UTC

[jira] [Reopened] (HADOOP-8887) Use a Maven plugin to build the native code using CMake

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

Alejandro Abdelnur reopened HADOOP-8887:
----------------------------------------


Thanks Suresh, my bad, missed to tweak the POM versions when merging, I'll do it again (this time properly). Nicholas, as Colin indicated, javadoc warnings are taken care by the patch, just it does not show until the patch is committed (one of these days I'll try to tweak test-patch to do what we do in Oozie, we run javadoc twice, once without the patch and once with the patch, and we compare the warning numbers, less or equal good).
                
> Use a Maven plugin to build the native code using CMake
> -------------------------------------------------------
>
>                 Key: HADOOP-8887
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8887
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 2.0.3-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.0.3-alpha
>
>         Attachments: HADOOP-8887.001.patch, HADOOP-8887.002.patch, HADOOP-8887.003.patch, HADOOP-8887.004.patch, HADOOP-8887.005.patch, HADOOP-8887.006.patch
>
>
> Currently, we build the native code using ant-build invocations.  Although this works, it has some limitations:
> * compiler warning messages are hidden, which can cause people to check in code with warnings unintentionally
> * there is no framework for running native unit tests; instead, we use ad-hoc constructs involving shell scripts
> * the antrun code is very platform specific
> * there is no way to run a specific native unit test
> * it's more or less impossible for scripts like test-patch.sh to separate a native test failing from the build itself failing (no files are created) or to enumerate which native tests failed.
> Using a native Maven plugin would overcome these limitations.

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