Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 61826 invoked from network); 29 Mar 2010 17:37:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 17:37:49 -0000 Received: (qmail 94368 invoked by uid 500); 29 Mar 2010 17:37:48 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 94312 invoked by uid 500); 29 Mar 2010 17:37:48 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 94304 invoked by uid 99); 29 Mar 2010 17:37:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 17:37:48 +0000 X-ASF-Spam-Status: No, hits=-1164.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 17:37:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42263234C4AE for ; Mon, 29 Mar 2010 17:37:27 +0000 (UTC) Message-ID: <1468656207.555191269884247270.JavaMail.jira@brutus.apache.org> Date: Mon, 29 Mar 2010 17:37:27 +0000 (UTC) From: "Hong Tang (JIRA)" To: common-dev@hadoop.apache.org Subject: [jira] Resolved: (HADOOP-6662) hadoop zlib compression does not fully utilize the buffer In-Reply-To: <327340030.542811269849567660.JavaMail.jira@brutus.apache.org> 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-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hong Tang resolved HADOOP-6662. ------------------------------- Resolution: Duplicate > hadoop zlib compression does not fully utilize the buffer > --------------------------------------------------------- > > Key: HADOOP-6662 > URL: https://issues.apache.org/jira/browse/HADOOP-6662 > Project: Hadoop Common > Issue Type: Improvement > Components: io > Affects Versions: 0.20.2 > Reporter: Xiao Kang > > org.apache.hadoop.io.compress.ZlibCompressonr does not fully utilize its buffer. > Its needesInput() return false when there is any data in its buffer (64K by default). The performance will greately degrade since an JNI call will be invoded at each time the write() method of CompressonStream is called. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.