Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 83680 invoked from network); 4 Nov 2009 04:11:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Nov 2009 04:11:04 -0000 Received: (qmail 48867 invoked by uid 500); 4 Nov 2009 04:11:03 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 48803 invoked by uid 500); 4 Nov 2009 04:11:01 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 48780 invoked by uid 99); 4 Nov 2009 04:11:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 04:11:00 +0000 X-ASF-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.221.188 as permitted sender) Received: from [209.85.221.188] (HELO mail-qy0-f188.google.com) (209.85.221.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 04:10:58 +0000 Received: by qyk26 with SMTP id 26so3386771qyk.5 for ; Tue, 03 Nov 2009 20:10:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=d1hTYvFS7uhUSpNHM4CZltIt0bxUyptrsXoausrGxQg=; b=PCnnkfSs6huIw3fAt3bEQQehS8rtdO/smpDc7RI77YzubTpZzCUySqXiwBBH3pekaN /FJvzuiTHNY0nqDkpwzrrYkzG7+2/Wk35o6SxAJbC5zeKS66J7ywWAypibWRfWa5QFKg wVQUaHuTlBkRSgjw7PHqLuINS9EgOnlQ5YcCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=WYdRTc+UkTv72It4jDEgMfWhelBp23lMT4oEmdaL1QZrdtBRBZ6pOZW1fJxkfugnUz iUszVQwQ5Bze9gAzCQR1j4gin+c7m7Y7202WXwrXR/5yPtCpwqsLD7GLqcZYLW8dIdYU BUMwGdhdkel5+h1FgK7AICOal2O+qvD/48Lf4= MIME-Version: 1.0 Sender: saint.ack@gmail.com Received: by 10.229.49.204 with SMTP id w12mr147526qcf.3.1257307837478; Tue, 03 Nov 2009 20:10:37 -0800 (PST) In-Reply-To: <3b40785b0911031817u807c454gd9edae9fe607798b@mail.gmail.com> References: <3b40785b0911031817u807c454gd9edae9fe607798b@mail.gmail.com> Date: Tue, 3 Nov 2009 20:10:37 -0800 X-Google-Sender-Auth: ee2b17572af1476e Message-ID: <7c962aed0911032010q448ae6e5p7a2a60aed1e8df42@mail.gmail.com> Subject: Re: Custom Comparator issue From: stack To: hbase-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016364ee71e06b692047783cb4b --0016364ee71e06b692047783cb4b Content-Type: text/plain; charset=ISO-8859-1 Filter is on both server and client-side? Can you add lot output to figure why its looping? Thanks, St.Ack On Tue, Nov 3, 2009 at 6:17 PM, Karthik Manimaran < karthikmanimaran@gmail.com> wrote: > Hi, > > I wrote a Custom Comparator that implements WritableByteArrayComparable and > used it in SingleColumnValueFilter as follows: > > new SingleColumnValueFilter(family, > column,CompareFilter.CompareOp.EQUAL,customComparator); > > The code seems to be stuck in an endless loop calling the write method over > and over. Any idea why this could be happening? > > The same behavior occurs when I copy the exact code of SubstringComparator > and use it with a different name. Am using Hbase version 0.20.1. I also > noticed that the SubstringComparator works fine when used as is. > > Thanks, > Karthik Manimaran. > --0016364ee71e06b692047783cb4b--