hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sinfox (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12952) Seek with prefixtree many hang
Date Mon, 02 Feb 2015 04:45:34 GMT
sinfox created HBASE-12952:

             Summary: Seek with prefixtree many hang
                 Key: HBASE-12952
                 URL: https://issues.apache.org/jira/browse/HBASE-12952
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.10, 0.98.9,, 0.98.8, 0.98.7, 1.0.0
            Reporter: sinfox
             Fix For:

I have upgraded my hbase cluster from hbase-0.96 to hbase-,then i found some compation
hang on many regionserver, and the cpu costed100%.
It looks like there is an infinite loop somewhere. 

>From the log, i found StoreFileScanner.java : reseekAtOrAfter(HFileScanner s, KeyValue
k) enterd an infinite loop.

Read source code, I found en error on PrefixTreeArrayReversibleScanner.java : previousRowInternal()

                    A, fan:12, numCell:1
                  /   \
              1/       \2
              /           \
            B            C: fan:34,numCell: 0
                            /     \         
                           /3      \4
                          /          \
                        D           E

D: fan,numCell:1
E: fan,numCell:1

when currentNode is D, its previous node is B , but this function will return A.

This message was sent by Atlassian JIRA

View raw message