Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66AC33B16 for ; Sat, 7 May 2011 00:10:08 +0000 (UTC) Received: (qmail 55690 invoked by uid 500); 7 May 2011 00:10:08 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 55662 invoked by uid 500); 7 May 2011 00:10:08 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 55653 invoked by uid 99); 7 May 2011 00:10:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 May 2011 00:10: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; Sat, 07 May 2011 00:10:05 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 23301C4A13 for ; Sat, 7 May 2011 00:09:05 +0000 (UTC) Date: Sat, 7 May 2011 00:09:05 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <564700496.29489.1304726945141.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1231838747.26478.1304635023211.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-3860) HLog shouldn't create a new HBC when rolling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030210#comment-13030210 ] Hudson commented on HBASE-3860: ------------------------------- Integrated in HBase-TRUNK #1909 (See [https://builds.apache.org/hudson/job/HBase-TRUNK/1909/]) > HLog shouldn't create a new HBC when rolling > -------------------------------------------- > > Key: HBASE-3860 > URL: https://issues.apache.org/jira/browse/HBASE-3860 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.90.2 > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Priority: Critical > Fix For: 0.90.3 > > > HBASE-2059 added this change in HLog.rollWriter: > {code} > this.writer = createWriter(fs, newPath, new HBaseConfiguration(conf)); > {code} > Which has since become: > {code} > HLog.Writer nextWriter = this.createWriterInstance(fs, newPath, > HBaseConfiguration.create(conf)); > {code} > It's unclear to me why it needs to do that, but it bite us today because we swapped jars under a running hbase with: > {quote} > 2011-05-05 12:06:12,876 FATAL org.apache.hadoop.conf.Configuration: error parsing conf file: java.util.zip.ZipException: invalid stored block lengths > 2011-05-05 12:06:12,877 ERROR org.apache.hadoop.hbase.regionserver.LogRoller: Log rolling failed > java.lang.RuntimeException: java.util.zip.ZipException: invalid stored block lengths > at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1352) > at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1227) > at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1156) > at org.apache.hadoop.conf.Configuration.get(Configuration.java:427) > at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:63) > at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:89) > at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:100) > at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:110) > at org.apache.hadoop.hbase.regionserver.wal.HLog.rollWriter(HLog.java:485) > at org.apache.hadoop.hbase.regionserver.LogRoller.run(LogRoller.java:94) > Caused by: java.util.zip.ZipException: invalid stored block lengths > at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147) > at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:105) > at java.io.FilterInputStream.read(FilterInputStream.java:66) > at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2932) > at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:704) > at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) > at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235) > at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) > at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1266) > ... 9 more > {quote} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira