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 4E95FE809 for ; Mon, 18 Feb 2013 09:02:12 +0000 (UTC) Received: (qmail 20735 invoked by uid 500); 18 Feb 2013 09:02:10 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 20664 invoked by uid 500); 18 Feb 2013 09:02:09 -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 20648 invoked by uid 99); 18 Feb 2013 09:02:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 09:02:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prakash.kadel@gmail.com designates 209.85.210.50 as permitted sender) Received: from [209.85.210.50] (HELO mail-da0-f50.google.com) (209.85.210.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 09:01:59 +0000 Received: by mail-da0-f50.google.com with SMTP id h15so2367404dan.37 for ; Mon, 18 Feb 2013 01:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:references:from:content-type:x-mailer :in-reply-to:message-id:date:to:content-transfer-encoding :mime-version; bh=fx/ocTS1XGRcI/Vnu7NSAf6XIwhBZECswMhUi6sevIw=; b=OnMVWS+EURh5dU3KEmQ265o0l9qWecxzi0zTAyG0KAUdHT16fhZhiBkx36/jJZ0NFo GRqIWxiqL6zR6E5Tp8bQD60IvSX0rnhfR2kfnOe1sKBAR6vcQ+VqsMyurK89ir2Mi5lq nBZmjijxlDUEq9aSaKlMIX/WUVJvY+qJ0KFY/cwBi52S5dB3j/D6532IDlHKGLw+9djz S76u+bdFbLjbRYnl3Zg/sS6pPDMVzEAjgnLVbyBRHPvI9A+1SX/LRDlveWwfCZCZZhzG 2Y7asLjXYdAdsQ08FL+Du3Y7aBTKN4/JegsLtlTRkWC+4pWgF1Z+gzfKaTlAD0HYtWud soPQ== X-Received: by 10.68.227.202 with SMTP id sc10mr28149151pbc.109.1361178098474; Mon, 18 Feb 2013 01:01:38 -0800 (PST) Received: from [169.220.13.83] ([110.70.27.56]) by mx.google.com with ESMTPS id km10sm13839537pbc.9.2013.02.18.01.01.36 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Feb 2013 01:01:37 -0800 (PST) Subject: Re: coprocessor enabled put very slow, help please~~~ References: <78023CDA-6661-4BE1-B5FF-3762119E51A2@gmail.com> From: Prakash Kadel Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10B144) In-Reply-To: Message-Id: Date: Mon, 18 Feb 2013 18:01:29 +0900 To: "user@hbase.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Virus-Checked: Checked by ClamAV on apache.org its a local read. i just check the last param of PostCheckAndPut indicating i= f the Put succeeded. Incase if the put success, i insert a row in another ta= ble Sincerely, Prakash Kadel On Feb 18, 2013, at 2:52 PM, Wei Tan wrote: > Is your CheckAndPut involving a local or remote READ? Due to the nature of= =20 > LSM, read is much slower compared to a write... >=20 >=20 > Best Regards, > Wei >=20 >=20 >=20 >=20 > From: Prakash Kadel > To: "user@hbase.apache.org" ,=20 > Date: 02/17/2013 07:49 PM > Subject: coprocessor enabled put very slow, help please~~~ >=20 >=20 >=20 > hi, > i am trying to insert few million documents to hbase with mapreduce. To=20= > enable quick search of docs i want to have some indexes, so i tried to use= =20 > the coprocessors, but they are slowing down my inserts. Arent the=20 > coprocessors not supposed to increase the latency?=20 > my settings: > 3 region servers > 60 maps > each map inserts to doc table.(checkAndPut) > regionobserver coprocessor does a postCheckAndPut and inserts some rows to= =20 > a index table. >=20 >=20 > Sincerely, > Prakash >=20