Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11122F4A5 for ; Fri, 29 Mar 2013 02:37:06 +0000 (UTC) Received: (qmail 55340 invoked by uid 500); 29 Mar 2013 02:37:04 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 55074 invoked by uid 500); 29 Mar 2013 02:37:03 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 55028 invoked by uid 99); 29 Mar 2013 02:37:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 02:37:02 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marcosluis2186@gmail.com designates 209.85.219.52 as permitted sender) Received: from [209.85.219.52] (HELO mail-oa0-f52.google.com) (209.85.219.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 02:36:58 +0000 Received: by mail-oa0-f52.google.com with SMTP id k14so135978oag.11 for ; Thu, 28 Mar 2013 19:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=4lSZ6eqO+SkADmEk5U3MzW0F8KwwbDJ6NtgyY0/dVmo=; b=0ue/Osn+oX8y2ERQfGdYeFL0ZcE3DOGjXhGjmodd55pdOSYaX67dUnMU0vGirh04cG xpWpy+esbtrWjLrvbWnQQ2TmJEW2Rhoz9fVZslrL4KFrb886TrWTw1Drhd8F0DlV66PH ZP1fWe2mdQWcA6hrFW2LGpWw8/LrUZtX52zR6ZLXB/M+52ElvTk8aISj6gpUyWUvImR9 20YmcPPtWzr/rjMQlY0T9/8VNfPftIroPGKs1svs+Va9+9SgBc8wt69Y3SXn25h09Zm+ SN9xtWwVbE6syKgIaXQMDlWTJmtn86+L+Ry21iXANjKjZkwnlPBrSFAyH8Vni3n2X/CG JGZQ== X-Received: by 10.182.113.40 with SMTP id iv8mr331145obb.12.1364524597660; Thu, 28 Mar 2013 19:36:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.5.138 with HTTP; Thu, 28 Mar 2013 19:36:17 -0700 (PDT) In-Reply-To: References: From: Marcos Luis Ortiz Valmaseda Date: Thu, 28 Mar 2013 22:06:17 -0430 Message-ID: Subject: Re: coprocessor is timing out in 0.94 To: user@hbase.apache.org, saurabh.agarwal@citi.com, yuzhihong@gmail.com Content-Type: multipart/alternative; boundary=f46d04479f95ee545604d9072375 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04479f95ee545604d9072375 Content-Type: text/plain; charset=ISO-8859-1 Regards, Saurabh. I see that you are using SingleColumnValueFilter. Look for these links: http://gbif.blogspot.com/2012/05/optimizing-hbase-mapreduce-scans-for.html http://mapredit.blogspot.com/2012/05/using-filters-in-hbase-to-match-two.html Take a look later to this link, about the working to improve scans: https://issues.apache.org/jira/browse/HBASE-5416 2013/3/28 Agarwal, Saurabh > Ted, > > Thanks for response. > > Here is the filter we are using - > SingleColumnValueFilter(Bytes.toBytes(columnFamily), > Bytes.toBytes(columnQualifier), CompareFilter.CompareOp.EQUAL, new > RegexStringComparator("(?i)"+"keyword")); > > The thread dump at different points show that coprocessor is getting > called. Also logs showed it keep processing. But the speed is much slower > compare to 0.92. > > Regards, > Saurabh. > > -----Original Message----- > From: Ted Yu [mailto:yuzhihong@gmail.com] > Sent: Thursday, March 28, 2013 6:57 PM > To: user@hbase.apache.org > Subject: Re: coprocessor is timing out in 0.94 > > bq. I checked thread dump > > If there was no exception in region server logs, thread dump of region > server when your coprocessor was running would reveal where it got stuck. > > From your description below, looks like you can utilize HBASE-5416 Improve > performance of scans with some kind of filters. > > bq. to apply the filter on one of the column > > Basically this column is the essential column. > > Cheers > > On Thu, Mar 28, 2013 at 3:22 PM, Ted Yu wrote: > > > bq. when I removed the filter, it ran fine in 0.94 > > > > Can you disclose more information about your filter ? > > > > BTW 0.94.6 was just released which is fully compatible with 0.94.2 > > > > Cheers > > > > On Thu, Mar 28, 2013 at 3:18 PM, Agarwal, Saurabh < > > saurabh.agarwal@citi.com> wrote: > > > >> Hi, > >> > >> We are in process of migrating from 0.92.1 to 0.94.2. A coprocessor > >> was running fine in 0.92. After migrating to 0.94, the client is > >> timing out (java.net.SocketTimeoutException). We are using > >> coprocessor to apply the filter on one of the column and return the > >> columns that match with that filter criteria. I checked thread dump, > >> region server, web UI, logs. There is no error or exception. One > >> thing I noticed that when I removed the filter, it ran fine in 0.94 as > well. > >> > >> Please advise if there is any specific setting we need to make in 0.94. > >> > >> Thanks, > >> Saurabh. > >> > > > > > -- Marcos Ortiz Valmaseda, *Data-Driven Product Manager* at PDVSA *Blog*: http://dataddict.wordpress.com/ *LinkedIn: *http://www.linkedin.com/in/marcosluis2186 *Twitter*: @marcosluis2186 --f46d04479f95ee545604d9072375--