hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8511) ProtobufLogReader can't read log entry
Date Wed, 08 May 2013 19:27:16 GMT
Jimmy Xiang created HBASE-8511:
----------------------------------

             Summary: ProtobufLogReader can't read log entry
                 Key: HBASE-8511
                 URL: https://issues.apache.org/jira/browse/HBASE-8511
             Project: HBase
          Issue Type: Bug
          Components: Protobufs, wal
    Affects Versions: 0.98.0
            Reporter: Jimmy Xiang
            Assignee: Jimmy Xiang


The log entry written by ProtobufLogWriter can't be read out by the ProrobufLogReader.  Something
is missing here:

{noformat}
2013-05-08 11:28:25,391 WARN org.apache.hadoop.hbase.regionserver.SplitLogWorker: log splitting
of .logs/test-3,60020,1367971658641-splitting/test-3%2C60020%2C1367971658641.1367971679670
failed, returning error
java.io.IOException: Failed read of int length 3
        at org.apache.hadoop.hbase.KeyValue.iscreate(KeyValue.java:2335)
        at org.apache.hadoop.hbase.codec.KeyValueCodec$KeyValueDecoder.parseCell(KeyValueCodec.java:66)
        at org.apache.hadoop.hbase.codec.BaseDecoder.advance(BaseDecoder.java:41)
        at org.apache.hadoop.hbase.regionserver.wal.WALEdit.readFromCells(WALEdit.java:199)
        at org.apache.hadoop.hbase.regionserver.wal.ProtobufLogReader.readNext(ProtobufLogReader.java:137)
        at org.apache.hadoop.hbase.regionserver.wal.ReaderBase.next(ReaderBase.java:88)
        at org.apache.hadoop.hbase.regionserver.wal.ReaderBase.next(ReaderBase.java:75)
        at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter.getNextLogLine(HLogSplitter.java:775)
        at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter.splitLogFile(HLogSplitter.java:459)
        at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter.splitLogFile(HLogSplitter.java:388)
        at org.apache.hadoop.hbase.regionserver.SplitLogWorker$1.exec(SplitLogWorker.java:115)
        at org.apache.hadoop.hbase.regionserver.SplitLogWorker.grabTask(SplitLogWorker.java:278)
        at org.apache.hadoop.hbase.regionserver.SplitLogWorker.taskLoop(SplitLogWorker.java:199)
        at org.apache.hadoop.hbase.regionserver.SplitLogWorker.run(SplitLogWorker.java:166)
        at java.lang.Thread.run(Thread.java:662)

{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message