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 B27C44097 for ; Thu, 2 Jun 2011 21:38:28 +0000 (UTC) Received: (qmail 56603 invoked by uid 500); 2 Jun 2011 21:38:28 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 56578 invoked by uid 500); 2 Jun 2011 21:38:28 -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 56570 invoked by uid 99); 2 Jun 2011 21:38:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 21:38:28 +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; Thu, 02 Jun 2011 21:38:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6E3CFF11F1 for ; Thu, 2 Jun 2011 21:37:47 +0000 (UTC) Date: Thu, 2 Jun 2011 21:37:47 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <287817546.64167.1307050667448.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <640184672.61345.1306972728331.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7350) Use ServiceLoader to discover compression codec classes 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-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043066#comment-13043066 ] Todd Lipcon commented on HADOOP-7350: ------------------------------------- bq. This doesn't need to be updated Sorry, the default doesn't need to change, but the docs should be updated: it no longer needs to be one of the codecs listed in io.compression.codecs. It just needs to be any codec that's "registered" (either via conf or via ServiceLoader). I don't know the best verbiage to succinctly document it, though. The rest of your points make sense. > Use ServiceLoader to discover compression codec classes > ------------------------------------------------------- > > Key: HADOOP-7350 > URL: https://issues.apache.org/jira/browse/HADOOP-7350 > Project: Hadoop Common > Issue Type: Improvement > Components: conf, io > Reporter: Tom White > Assignee: Tom White > Attachments: HADOOP-7350.patch, HADOOP-7350.patch > > > By using a ServiceLoader users wouldn't have to add codec classes to io.compression.codecs for codecs that aren't shipped with Hadoop (e.g. LZO), since they would be automatically picked up from the classpath. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira