Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 59978 invoked from network); 26 Sep 2009 20:26:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Sep 2009 20:26:38 -0000 Received: (qmail 3713 invoked by uid 500); 26 Sep 2009 20:26:37 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 3675 invoked by uid 500); 26 Sep 2009 20:26:37 -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 3665 invoked by uid 99); 26 Sep 2009 20:26:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Sep 2009 20:26:37 +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; Sat, 26 Sep 2009 20:26:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 268E0234C046 for ; Sat, 26 Sep 2009 13:26:16 -0700 (PDT) Message-ID: <1585681324.1253996776157.JavaMail.jira@brutus> Date: Sat, 26 Sep 2009 13:26:16 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1858) Master can't split logs created by THBase In-Reply-To: <2008552388.1253641936149.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-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759945#action_12759945 ] stack commented on HBASE-1858: ------------------------------ Backporting Jon's fixes to TestTHLogRecover in trunk where he updates to new API seems to make it pass the test. I'm running all tests now. > Master can't split logs created by THBase > ----------------------------------------- > > Key: HBASE-1858 > URL: https://issues.apache.org/jira/browse/HBASE-1858 > Project: Hadoop HBase > Issue Type: Bug > Components: master > Affects Versions: 0.20.0 > Reporter: Clint Morgan > Assignee: Clint Morgan > Fix For: 0.20.1, 0.21.0 > > Attachments: 1858-v2.patch, 1858.patch > > > When master tries to split logs created by THbase, it fails because it tries to read in the wrong key type. (THBase subclasses HLogKey to add fields to the key). > 2009-09-16 09:03:01,943 WARN org.apache.hadoop.hbase.regionserver.HLog: > Exception processing > hdfs://domU-12-31-39-07-CC-A2.compute-1.internal:9000/hbase/.logs/domU-12-31-39-07-CC-A2.compute-1.internal,60020,1253103101743/hlog.dat.1253103102168 > -- continuing. Possible DATA LOSS! > java.io.IOException: wrong key class: > org.apache.hadoop.hbase.regionserver.HLogKey is not class > org.apache.hadoop.hbase.regionserver.transactional.THLogKey > at > org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1824) > at > org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1876) > at org.apache.hadoop.hbase.regionserver.HLog.splitLog(HLog.java:880) > at org.apache.hadoop.hbase.regionserver.HLog.splitLog(HLog.java:802) > at > org.apache.hadoop.hbase.master.ProcessServerShutdown.process(ProcessServerShutdown.java:274) > at > org.apache.hadoop.hbase.master.HMaster.processToDoQueue(HMaster.java:492) > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:426) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.