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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2015/05/08 00:04:00 UTC

[jira] [Commented] (HADOOP-11937) Guarantee a full build of all native code during pre-commit.

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

Chris Nauroth commented on HADOOP-11937:
----------------------------------------

I'd like for test-patch.sh to pass all of the various {{-Drequire}} flags to {{mvn}}, so that we get a full build.  HDFS-8346 documents a build break that we've had in libwebhdfs for a long time.  This would have been caught trivially during pre-commit if test-patch.sh was passing {{-Drequire.libwebhdfs}}.

Here is a full list of the flags:

{{-Drequire.bzip2}}
{{-Drequire.snappy}}
{{-Drequire.openssl}}
{{-Drequire.fuse}}
{{-Drequire.libwebhdfs}}

When we do this, we might find that some of the dependencies need to get deployed to the Jenkins hosts.

> Guarantee a full build of all native code during pre-commit.
> ------------------------------------------------------------
>
>                 Key: HADOOP-11937
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11937
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Chris Nauroth
>             Fix For: 2.8.0
>
>
> Some of the native components of the build are considered optional and either will not build at all without passing special flags to Maven or will allow a build to proceed if dependencies are missing from the build machine.  If these components do not get built, then pre-commit isn't really providing full coverage of the build.  This issue proposes to update test-patch.sh so that it does a full build of all native components.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)