Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C770F175E8 for ; Mon, 2 Feb 2015 05:20:40 +0000 (UTC) Received: (qmail 93396 invoked by uid 500); 2 Feb 2015 05:20:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 93338 invoked by uid 500); 2 Feb 2015 05:20:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 93326 invoked by uid 99); 2 Feb 2015 05:20:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 05:20:35 +0000 Date: Mon, 2 Feb 2015 05:20:35 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12952) Seek with prefixtree many hang MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300887#comment-14300887 ] ramkrishna.s.vasudevan commented on HBASE-12952: ------------------------------------------------ Thanks for the patch [~signifox]. Can you add a test case also for this. Check TestPrefixTree for example. > Seek with prefixtree many 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 > Fix For: 0.98.6.1 > > 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)