Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9C9F6200B9F for ; Tue, 11 Oct 2016 22:43:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9B5A1160AE6; Tue, 11 Oct 2016 20:43:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E3051160AC3 for ; Tue, 11 Oct 2016 22:43:23 +0200 (CEST) Received: (qmail 72077 invoked by uid 500); 11 Oct 2016 20:43:21 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 71727 invoked by uid 99); 11 Oct 2016 20:43:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2016 20:43:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D47B52C0059 for ; Tue, 11 Oct 2016 20:43:20 +0000 (UTC) Date: Tue, 11 Oct 2016 20:43:20 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13684) Snappy may complain Hadoop is built without snappy if libhadoop is not found. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 11 Oct 2016 20:43:24 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15566540#comment-15566540 ] Hudson commented on HADOOP-13684: --------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10588 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10588/]) HADOOP-13684. Snappy may complain Hadoop is built without snappy if (weichiu: rev 4b32b1420d98ea23460d05ae94f2698109b3d6f7) * (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/SnappyCodec.java > Snappy may complain Hadoop is built without snappy if libhadoop is not found. > ----------------------------------------------------------------------------- > > Key: HADOOP-13684 > URL: https://issues.apache.org/jira/browse/HADOOP-13684 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Wei-Chiu Chuang > Assignee: Wei-Chiu Chuang > Priority: Minor > Labels: supportability > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HADOOP-13684.001.patch, HADOOP-13684.002.patch > > > If for some reason libhadoop can not be found/loaded, Snappy complains Hadoop is not built with Snappy but it actually is. > {code:title=SnappyCodec.java} > public static void checkNativeCodeLoaded() { > if (!NativeCodeLoader.isNativeCodeLoaded() || > !NativeCodeLoader.buildSupportsSnappy()) { > throw new RuntimeException("native snappy library not available: " + > "this version of libhadoop was built without " + > "snappy support."); > } > {code} > This case may happen with MAPREDUCE-6577. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org