You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/08/05 03:09:06 UTC
[jira] [Updated] (HBASE-12952) Seek with prefixtree may hang
[ https://issues.apache.org/jira/browse/HBASE-12952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Dimiduk updated HBASE-12952:
---------------------------------
Fix Version/s: (was: 1.1.2)
1.1.3
> Seek with prefixtree may hang
> -----------------------------
>
> Key: HBASE-12952
> URL: https://issues.apache.org/jira/browse/HBASE-12952
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Affects Versions: 1.0.0, 0.98.7, 0.98.8, 0.98.6.1, 0.98.9, 0.98.10
> Reporter: sinfox
> Assignee: sinfox
> Fix For: 2.0.0, 0.98.14, 1.3.0, 1.2.1, 1.0.3, 1.1.3
>
> Attachments: hbase_0.98.6.1.patch
>
>
> I have upgraded my hbase cluster from hbase-0.96 to hbase-0.98.6.1,then i found some compaction 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()
> eg:
> A:fan:12, numCell:1
> A : 1 -> B
> A : 2 -> C
>
> C: 3 -> D
> C: 4 -> E
>
> A: fan:12, numCell:1
> B: fan,numCell:1
> C: fan:34,numCell: 0
> 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
(v6.3.4#6332)