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

Kai Zheng commented on HADOOP-12662:
------------------------------------

A failure running instance bundling openssl failed:
{noformat}
[INFO] --- maven-antrun-plugin:1.7:run (pre-dist) @ hadoop-common ---
[INFO] Executing tasks

main:
     [exec] check_bundle_lib true snappy.lib snappy /tmp/libsnappy
     [exec] Checking to bundle with:
     [exec] bundleOption=true, libOption=snappy.lib, libDir=/tmp/libsnappy, 
pattern=snappy
     [exec] check_bundle_lib true openssl.lib crypto /usr/lib64/openssl/engines
     [exec] Checking to bundle with:
     [exec] bundleOption=true, libOption=openssl.lib, 
libDir=/usr/lib64/openssl/engines, pattern=crypto
     [exec] Bundling library with openssl.lib failed tar: *crypto*: Cannot 
stat: No such file or directory
     [exec] tar: Exiting with failure status due to previous errors
     [exec] 
[INFO] ------------------------------------------------------------------------
{noformat}

> The build should fail if a -Dbundle option fails
> ------------------------------------------------
>
>                 Key: HADOOP-12662
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12662
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>         Attachments: HADOOP-12662-v1.patch, HADOOP-12662-v2.patch, 
> HADOOP-12662-v3.patch
>
>
> Per some discussion with [~cmccabe], it would be good to refine and make it 
> consistent the behaviors in bundling native libraries when building dist 
> package.
> For all native libraries to bundle, if the bundling option like 
> {{-Dbundle.snappy}} is specified, then the lib option like {{-Dsnappy.lib}} 
> will be checked and ensured to be there, but if not, it will then report 
> error and fail the building explicitly.
> {{BUILDING.txt}} would also be updated to explicitly state this behavior.



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

Reply via email to