Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42A6318939 for ; Tue, 29 Dec 2015 01:23:50 +0000 (UTC) Received: (qmail 93969 invoked by uid 500); 29 Dec 2015 01:23:49 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 93912 invoked by uid 500); 29 Dec 2015 01:23:49 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 93901 invoked by uid 99); 29 Dec 2015 01:23:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2015 01:23:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A2CAA2C1F5A for ; Tue, 29 Dec 2015 01:23:49 +0000 (UTC) Date: Tue, 29 Dec 2015 01:23:49 +0000 (UTC) From: "Kai Zheng (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12662) The build should fail if a -Dbundle option fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073340#comment-15073340 ] Kai Zheng commented on HADOOP-12662: ------------------------------------ A running instance bundling ISA-L library: {noformat} [INFO] --- maven-antrun-plugin:1.7:run (pre-dist) @ hadoop-common --- [INFO] Executing tasks main: [exec] check_bundle_lib false snappy.lib snappy [exec] Checking to bundle with: [exec] bundleOption=false, libOption=snappy.lib, libDir=, pattern=snappy [exec] check_bundle_lib false openssl.lib crypto [exec] Checking to bundle with: [exec] bundleOption=false, libOption=openssl.lib, libDir=, pattern=crypto [exec] check_bundle_lib true isal.lib isa /usr/lib [exec] Checking to bundle with: [exec] bundleOption=true, libOption=isal.lib, libDir=/usr/lib, pattern=isa [INFO] Executed tasks {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)