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 A8BED10B51 for ; Sat, 22 Feb 2014 02:27:26 +0000 (UTC) Received: (qmail 52931 invoked by uid 500); 22 Feb 2014 02:27:21 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 52852 invoked by uid 500); 22 Feb 2014 02:27:20 -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 52818 invoked by uid 99); 22 Feb 2014 02:27:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Feb 2014 02:27:19 +0000 Date: Sat, 22 Feb 2014 02:27:19 +0000 (UTC) From: "Ilya Maykov (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-10359) Native bzip2 compression support is broken on non-Linux systems 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-10359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13909167#comment-13909167 ] Ilya Maykov commented on HADOOP-10359: -------------------------------------- Note: I believe that native support is broken on non-linux systems because the header file unconditionally does #define HADOOP_BZIP2_LIBRARY "libbz2.so.1" which I think is only correct for Linux according to some comments found in CMakeLists.txt (Windows should have a ".dll", FreeBSD a ."so" without the version, and Mac OS X a ".version.dylib"). However I've only verified that it's broken on Mac OS X. > Native bzip2 compression support is broken on non-Linux systems > --------------------------------------------------------------- > > Key: HADOOP-10359 > URL: https://issues.apache.org/jira/browse/HADOOP-10359 > Project: Hadoop Common > Issue Type: Improvement > Components: native > Affects Versions: 2.2.0 > Environment: Mac OS X 10.8.5 > Oracle JDK 1.7.0_51 > Hadoop 2.2.0-CDH5.0.0-beta-2 > Reporter: Ilya Maykov > Priority: Minor > Attachments: HADOOP-10359-native-bzip2-for-os-x.patch > > > While testing the patch for HADOOP-9648, I noticed that the bzip2 native compressor/decompressor support wasn't working properly. I dug around a bit and got native bzip2 support to work on my macbook. Will attach a patch in a bit. (This probably needs to be tested on FreeBSD / Windows / Linux, but I don't have the time to set up the necessary VMs to do it. I assume the build bot will test Linux). -- This message was sent by Atlassian JIRA (v6.1.5#6160)