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 EEA746827 for ; Mon, 20 Jun 2011 18:17:08 +0000 (UTC) Received: (qmail 84049 invoked by uid 500); 20 Jun 2011 18:17:08 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 84013 invoked by uid 500); 20 Jun 2011 18:17:08 -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 84005 invoked by uid 99); 20 Jun 2011 18:17:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 18:17:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 18:17:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B9686424A84 for ; Mon, 20 Jun 2011 18:16:47 +0000 (UTC) Date: Mon, 20 Jun 2011 18:16:47 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <718256822.21772.1308593807756.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1149165875.19738.1308543647431.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7405) libhadoop is all or nothing 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-7405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052122#comment-13052122 ] Todd Lipcon commented on HADOOP-7405: ------------------------------------- Allen, if you want to write a patch that adds a call like: boolean isNativeFeatureSupported(long featureCode); ...with a set of enums for various features, I would happily review it. > libhadoop is all or nothing > --------------------------- > > Key: HADOOP-7405 > URL: https://issues.apache.org/jira/browse/HADOOP-7405 > Project: Hadoop Common > Issue Type: Bug > Components: native > Affects Versions: 0.20.203.0, 0.23.0 > Environment: Everything not Linux > Reporter: Allen Wittenauer > Priority: Blocker > Labels: regression > > As a result of a ton of new code in libhadoop being added in 0.20.203/0.22, a lot of features that used to work no longer do reliably. The most common problem is native compression, but other issues such as Mac OS X's group support broke as well. The native code checks need to be refactored such that libhadoop.so should report what it supports rather than having the Java-side assume that if it loads, it is all supported. This would allow us to stub routines until they've been vetted, removing the chances of such regressions appearing in the future. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira