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 C0ACF10F35 for ; Sat, 4 Jan 2014 20:25:29 +0000 (UTC) Received: (qmail 89224 invoked by uid 500); 4 Jan 2014 20:25:27 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 89090 invoked by uid 500); 4 Jan 2014 20:25: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 89081 invoked by uid 99); 4 Jan 2014 20:25:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jan 2014 20:25:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jan 2014 20:25:21 +0000 Received: by mail-lb0-f172.google.com with SMTP id x18so8941893lbi.17 for ; Sat, 04 Jan 2014 12:24:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BxMnTUl9qTOKArgnGveUFTqKJ7mz1mIvKAw75lUCHvw=; b=riLZg85sSO5GDelIA53HlphvlLRG2nXfO2CQ3d+cboMpgVpm1C/64A5Fgv+yztZUD0 LH2oV+m1sj7aaFIv7xI+ETZD+Y1S71q4StSXzYIjKOfJppnwphipfNx6qgx4tRqBSmS2 P80yhpiSKUMgrnhUZ4a6ce02yuXkaepHiheBc+FWcqYsxUJZdfYtjoREwseJd7ZP5kBW A0LJpPh51pGlB20nncNSnHPVLXt2+T1FzsCS2pInvCW/VNJf12cXJrl40yD+9P2UtiFg lPWLW04oQi0H3v58xwHxm3YZ9HcJjTcTIuuIJLTUtX2gk5t4gwjoI3wy3um4m0xIgWQG 6AuA== MIME-Version: 1.0 X-Received: by 10.152.44.202 with SMTP id g10mr40276429lam.16.1388867099774; Sat, 04 Jan 2014 12:24:59 -0800 (PST) Received: by 10.112.183.231 with HTTP; Sat, 4 Jan 2014 12:24:59 -0800 (PST) In-Reply-To: References: Date: Sat, 4 Jan 2014 12:24:59 -0800 Message-ID: Subject: Re: Hbase Performance Issue From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e0158c7981f556104ef2ad2e6 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158c7981f556104ef2ad2e6 Content-Type: text/plain; charset=ISO-8859-1 What version of HBase / hdfs are you running with ? Cheers On Sat, Jan 4, 2014 at 12:17 PM, Akhtar Muhammad Din wrote: > Hi, > I have been running a map reduce job that joins 2 datasets of 1.3 and 4 GB > in size. Joining is done at reduce side. Output is written to either Hbase > or HDFS depending upon configuration. The problem I am having is that Hbase > takes about 60-80 minutes to write the processed data, on the other hand > HDFS takes only 3-5 mins to write the same data. I really want to improve > the Hbase speed and bring it down to 1-2 min. > > I am using amazon EC2 instances, launched a cluster of size 3 and later 10, > have tried both c3.4xlarge and c3.8xlarge instances. > > I can see significant increase in performance while writing to HDFS as i > use cluster with more nodes, having high specifications, but in the case of > Hbase there was no significant change in performance. > > I have been going through different posts, articles and have read Hbase > book to solve the Hbase performance issue but have not been able to succeed > so far. > Here are the few things i have tried out so far: > > *Client Side* > - Turned off writing to WAL > - Experimented with write buffer size > - Turned off auto flush on table > - Used cache, experimented with different sizes > > > *Hbase Server Side* > - Increased region servers heap size to 8 GB > - Experimented with handlers count > - Increased Memstore flush size to 512 MB > - Experimented with hbase.hregion.max.filesize, tried different sizes > > There are many other parameters i have tried out following the suggestions > from different sources, but nothing worked so far. > > Your help will be really appreciated. > > -- > Regards > Akhtar Muhammad Din > --089e0158c7981f556104ef2ad2e6--