Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 934 invoked from network); 8 Oct 2009 21:07:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Oct 2009 21:07:55 -0000 Received: (qmail 90038 invoked by uid 500); 8 Oct 2009 21:07:55 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 90007 invoked by uid 500); 8 Oct 2009 21:07:55 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 89997 invoked by uid 99); 8 Oct 2009 21:07:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2009 21:07:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 08 Oct 2009 21:07:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6354B234C1EF for ; Thu, 8 Oct 2009 14:07:31 -0700 (PDT) Message-ID: <1628400495.1255036051406.JavaMail.jira@brutus> Date: Thu, 8 Oct 2009 14:07:31 -0700 (PDT) From: "ryan rawson (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1777) column length is not checked before saved to memstore In-Reply-To: <1190808743.1250622614797.JavaMail.jira@brutus> 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-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763697#action_12763697 ] ryan rawson commented on HBASE-1777: ------------------------------------ this one is not as straightforward as it seems, the mainline code in Put and KeyValue checks the row length, thus this is "impossible". Must be one of the other code paths somewhere... > column length is not checked before saved to memstore > ----------------------------------------------------- > > Key: HBASE-1777 > URL: https://issues.apache.org/jira/browse/HBASE-1777 > Project: Hadoop HBase > Issue Type: Bug > Components: client > Affects Versions: 0.20.0 > Reporter: Billy Pearson > Assignee: Amandeep Khurana > Fix For: 0.21.0 > > > I added some debuging to line 511 in HFile.java and found that the column is causing my problem it was > max size > we should check this before saving the record to memstore > As of 0.20.0-RC2 the server dies and cause the hlogs to be read again by the next region server that gets the region in the end it cause the whole cluster to go down sense the bad data is in the hlog at this point. > {code} > 2009-08-18 12:54:16,572 FATAL > org.apache.hadoop.hbase.regionserver.MemStoreFlusher: Replay of hlog > required. Forcing server shutdown > org.apache.hadoop.hbase.DroppedSnapshotException: region: > webdata,http:\x2F\x2Fanaal-genomen.isporno.nl\x2F,1250569930062 > at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:950) > at org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:843) > at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.flushRegion(MemStoreFlusher.java:241) > at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.run(MemStoreFlusher.java:149) > Caused by: java.io.IOException: Key length 183108 > 65536 > at org.apache.hadoop.hbase.io.hfile.HFile$Writer.checkKey(HFile.java:511) > at org.apache.hadoop.hbase.io.hfile.HFile$Writer.append(HFile.java:479) > at org.apache.hadoop.hbase.io.hfile.HFile$Writer.append(HFile.java:447) > at org.apache.hadoop.hbase.regionserver.Store.internalFlushCache(Store.java:525) > at org.apache.hadoop.hbase.regionserver.Store.flushCache(Store.java:489) > at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:935) > ... 3 more > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.