[ https://issues.apache.org/jira/browse/HBASE-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907260#action_12907260 ]
George P. Stathis commented on HBASE-1858: ------------------------------------------ Folks, unless there is something special that needs to be done when configuring transactional tables, it unfortunately seems that this problem is still occurring in 0.20.3: {noformat} 2010-08-27 15:53:06,030 DEBUG regionserver.HLog - Splitting hlog 2 of 31: hdfs://domU-12-31-39-18-19-65.compute-1.internal:9000/hbase/.logs/domU-12-31-39-18-15-24.compute-1.internal,60020,1282782970585/ hlog.dat.1282798940318, length=9831249 2010-08-27 15:53:06,033 DEBUG regionserver.HLog - IOE Pushed=0 entries from hdfs://domU-12-31-39-18-19-65.compute-1.internal:9000/hbase/.logs/domU-12-31-39-18-15-24.compute-1.internal,60020,128278297058 5/hlog.dat.1282798940318 2010-08-27 15:53:06,033 WARN regionserver.HLog - Exception processing hdfs://domU-12-31-39-18-19-65.compute-1.internal:9000/hbase/.logs/domU-12-31-39-18-15-24.compute-1.internal,60020,1282782970585/hlo g.dat.1282798940318 -- 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:966) at org.apache.hadoop.hbase.regionserver.HLog.splitLog(HLog.java:872) at org.apache.hadoop.hbase.master.ProcessServerShutdown.process(ProcessServerShutdown.java:286) at org.apache.hadoop.hbase.master.HMaster.processToDoQueue(HMaster.java:494) at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:429) {noformat} I'm not sure though that the "define the HLogKey class in the conf" part means, so I might be missing that... > Master can't split logs created by THBase > ----------------------------------------- > > Key: HBASE-1858 > URL: https://issues.apache.org/jira/browse/HBASE-1858 > Project: HBase > Issue Type: Bug > Components: master > Affects Versions: 0.20.0 > Reporter: Clint Morgan > Assignee: Clint Morgan > Fix For: 0.20.1, 0.90.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.