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 "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2012/09/25 01:20:07 UTC

[jira] [Commented] (HADOOP-8776) Provide an option in test-patch that can enable / disable compiling native code

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

Colin Patrick McCabe commented on HADOOP-8776:
----------------------------------------------

In the end, we don't want to submit code unless it has been tested with the full test-patch.sh, including the native compilation.  The purpose of test-patch.sh is to identify regressions, and that purpose is defeated if it doesn't test as much as possible.

However, it seems reasonable to provide various switches to skip various parts of the testing, including the native testing, as long as the default is to test everything.
                
> Provide an option in test-patch that can enable / disable compiling native code
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-8776
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8776
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Hemanth Yamijala
>            Assignee: Hemanth Yamijala
>            Priority: Minor
>         Attachments: HADOOP-8776.patch
>
>
> The test-patch script in Hadoop source runs a native compile with the patch. On platforms like MAC, there are issues with the native compile that make it difficult to use test-patch. This JIRA is to try and provide an option to make the native compilation optional.

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