Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 25543 invoked from network); 21 Jun 2007 12:22:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2007 12:22:13 -0000 Received: (qmail 94152 invoked by uid 500); 21 Jun 2007 12:22:12 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 94125 invoked by uid 500); 21 Jun 2007 12:22:12 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 94108 invoked by uid 99); 21 Jun 2007 12:22:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2007 05:22:12 -0700 X-ASF-Spam-Status: No, hits=-99.2 required=10.0 tests=ALL_TRUSTED,INFO_TLD X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2007 05:22:08 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3ACA07141F4 for ; Thu, 21 Jun 2007 05:21:29 -0700 (PDT) Message-ID: <25507337.1182428489238.JavaMail.jira@brutus> Date: Thu, 21 Jun 2007 05:21:29 -0700 (PDT) From: "Hudson (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1505) HADOOP-1093 adds INFO-level logging of stacktrace java.lang.Exception... ZlibFactory.getZlibCompressor(ZlibFactory.java:81) In-Reply-To: <7663286.1182281185860.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506873 ] Hudson commented on HADOOP-1505: -------------------------------- Integrated in Hadoop-Nightly #131 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/131/]) > HADOOP-1093 adds INFO-level logging of stacktrace java.lang.Exception... ZlibFactory.getZlibCompressor(ZlibFactory.java:81) > --------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-1505 > URL: https://issues.apache.org/jira/browse/HADOOP-1505 > Project: Hadoop > Issue Type: Bug > Reporter: stack > Assignee: stack > Fix For: 0.14.0 > > Attachments: zlibfactory-v2.patch, zlibfactory.patch > > > This change: > + 52. HADOOP-1193. Pool allocation of compression codecs. This > + eliminates a memory leak that could cause OutOfMemoryException, > + and also substantially improves performance. > + (Arun C Murthy via cutting) > Added this to logs: > {code} > 07/06/19 12:18:58 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable > 07/06/19 12:18:58 INFO zlib.ZlibFactory: Creating a new ZlibCompressor > java.lang.Exception > at org.apache.hadoop.io.compress.zlib.ZlibFactory.getZlibCompressor(ZlibFactory.java:81) > at org.apache.hadoop.io.compress.DefaultCodec.createCompressor(DefaultCodec.java:59) > at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:740) > at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.(SequenceFile.java:863) > at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:136) > at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:112) > at org.apache.hadoop.hbase.HLog.rollWriter(HLog.java:227) > at org.apache.hadoop.hbase.HLog.(HLog.java:172) > at org.apache.hadoop.hbase.AbstractMergeTestBase.createNewHRegion(AbstractMergeTestBase.java:137) > at org.apache.hadoop.hbase.AbstractMergeTestBase.createAregion(AbstractMergeTestBase.java:104) > at org.apache.hadoop.hbase.AbstractMergeTestBase.setUp(AbstractMergeTestBase.java:72) > at junit.framework.TestCase.runBare(TestCase.java:125) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) > at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) > {code} > This seems to be culprit code: > {code} > public static Compressor getZlibCompressor() { > LOG.info("Creating a new ZlibCompressor"); > try { > throw new Exception(); > } catch (Exception e) { > e.printStackTrace(); > } > return (nativeZlibLoaded) ? > new ZlibCompressor() : new BuiltInZlibDeflater(); > } > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.