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 054D7104DA for ; Wed, 24 Apr 2013 10:30:32 +0000 (UTC) Received: (qmail 36349 invoked by uid 500); 24 Apr 2013 10:30:30 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 36005 invoked by uid 500); 24 Apr 2013 10:30:27 -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 35977 invoked by uid 99); 24 Apr 2013 10:30:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 10:30:26 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anoop.hbase@gmail.com designates 209.85.216.50 as permitted sender) Received: from [209.85.216.50] (HELO mail-qa0-f50.google.com) (209.85.216.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 10:30:20 +0000 Received: by mail-qa0-f50.google.com with SMTP id dx4so434572qab.16 for ; Wed, 24 Apr 2013 03:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=QFgwgERKN8ETMSzmKwrfAlpjuxBaVi50CAClMuMN538=; b=suSu4bbzKJ33PM1XjW9n8DdvHFqgQ7ou1msud/KOkWFOhYCVZquZxNs9UlJSAjUTcY 2EXt1yGB7pAHfWz5KNhzJPfYPllTnmcZiPM6YRYrVV7r8nF0pfFwIPXiRXHEO753nUVY /Xyo+/FzhKGSzIMix9w5dUjUyL5E/0NZMVSBCm3PsRE4/co+XMV4eoypEY7giXn9izEi KJ7VF4yKdz9iyUuXSxia1eUsVQtvTqky+PP+fZVEDo3k4yTzAp+9UFDFLN7UhXDNYdSs v/xpQicqE5RWvW6ZC8Gm/49fNtC9SCldk26VGp2XZZkipaqzRZTS6WPjseFp4P2xjQ/7 UT7Q== MIME-Version: 1.0 X-Received: by 10.49.116.101 with SMTP id jv5mr1439390qeb.30.1366799399447; Wed, 24 Apr 2013 03:29:59 -0700 (PDT) Received: by 10.49.28.233 with HTTP; Wed, 24 Apr 2013 03:29:59 -0700 (PDT) In-Reply-To: <1366798344605-4042836.post@n3.nabble.com> References: <1366798344605-4042836.post@n3.nabble.com> Date: Wed, 24 Apr 2013 15:59:59 +0530 Message-ID: Subject: Re: HBase - Performance issue From: Anoop John To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=047d7b6d7d5aaef2cb04db18c8b2 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6d7d5aaef2cb04db18c8b2 Content-Type: text/plain; charset=ISO-8859-1 Hi How many request handlers are there in ur RS? Can you up this number and see? -Anoop- On Wed, Apr 24, 2013 at 3:42 PM, kzurek wrote: > The problem is that when I'm putting my data (multithreaded client, ~30MB/s > traffic outgoing) into the cluster the load is equally spread over all > RegionServer with 3.5% average CPU wait time (average CPU user: 51%). When > I've added similar, mutlithreaded client that Scans for, let say, 100 last > samples of randomly generated key from chosen time range, I'm getting high > CPU wait time (20% and up) on two (or more if there is higher number of > threads, default 10) random RegionServers. Therefore, machines that held > those RS are getting very hot - one of the consequences is that number of > store file is constantly increasing, up to the maximum limit. Rest of the > RS > are having 10-12% CPU wait time and everything seems to be OK (number of > store files varies so they are being compacted and not increasing over > time). Any ideas? Maybe I could prioritize writes over reads somehow? Is > it > possible? If so what would be the best way to that and where it should be > placed - on the client or cluster side)? > > Cluster specification: > HBase Version 0.94.2-cdh4.2.0 > Hadoop Version 2.0.0-cdh4.2.0 > There are 6xDataNodes (5xHDD for storing data), 1xMasterNodes > Other settings: > - Bloom filters (ROWCOL) set > - Short circuit turned on > - HDFS Block Size: 128MB > - Java Heap Size of Namenode/Secondary Namenode in Bytes: 8 GiB > - Java Heap Size of HBase RegionServer in Bytes: 12 GiB > - Java Heap Size of HBase Master in Bytes: 4 GiB > - Java Heap Size of DataNode in Bytes: 1 GiB (default) > Number of regions per RegionServer: 19 (total 114 regions on 6 RS) > Key design: -> UUID: 1-10M, TIMESTAMP: 1-N > Table design: 1 column family with 20 columns of 8 bytes > > Get client: > Multiple threads > Each thread have its own tables instance with their Scanner. > Each thread have its own range of UUIDs and randomly draws beginning of > time > range to build rowkey properly (see above). > Each time Scan requests same amount of rows, but with random rowkey. > > > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/HBase-Performance-issue-tp4042836.html > Sent from the HBase User mailing list archive at Nabble.com. > --047d7b6d7d5aaef2cb04db18c8b2--