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 1BF03D39B for ; Sat, 2 Mar 2013 20:57:05 +0000 (UTC) Received: (qmail 84798 invoked by uid 500); 2 Mar 2013 20:57:02 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 84738 invoked by uid 500); 2 Mar 2013 20:57:02 -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 84728 invoked by uid 99); 2 Mar 2013 20:57:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Mar 2013 20:57:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.139.212.174] (HELO nm15.bullet.mail.bf1.yahoo.com) (98.139.212.174) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 02 Mar 2013 20:56:53 +0000 Received: from [98.139.215.141] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 02 Mar 2013 20:56:32 -0000 Received: from [98.139.212.209] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 02 Mar 2013 20:56:32 -0000 Received: from [127.0.0.1] by omp1018.mail.bf1.yahoo.com with NNFMP; 02 Mar 2013 20:56:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 651102.66322.bm@omp1018.mail.bf1.yahoo.com Received: (qmail 24667 invoked by uid 60001); 2 Mar 2013 20:56:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1362257792; bh=F7uu+grAn6JT+PiXd8LEWBepu/F/CjfDFpVdzvpbSrU=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=U1weeWoTmWOHChXDpEJhw1/7SIR//M4ivXPqTewwZd3fMDyGpNLFtKYLcJeP/pl0xIjsa85hK0ll1yDs8RMCR9NDftKSvi6dOVvT4RAui/6OVSkyagI6VkkCt4GyvYPPnqtsQXH3Je2ru5m5L2HoYN5hFQXxJAJDv03VW3uzfnI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Eyt2FAJN6To40Urv7VljNPPWsaaDCheXnKy5XUmFMecI0G4M6Lueq8ryKMvmB9gvY6sf+T8Nx4kinHnSsOOtgMV/feDakM1v5smj7+lol5A5dISQDkrkQktU8VCkkjyRAkK02dP65W+BO7m2aPQZtmbPuMoSGhDc7r2AMSgqwtc=; X-YMail-OSG: SDKuaicVM1nKKUSbrLGBCSZ_onPga.ISWHdFfkOKhyVs7n0 k0_umkajpmGjO5OxtZSa2K4JVklO7T3b9V6R3fWxhAd4h9zQN1uo7.0eF7Lk wWzi9zc5d_FVhJM_2kxbp5.Ojcr7Oc8KiYIKButtdbr3ALNC4OkBoM3BQa_k O3m10XuWQOm0l0Y5SsZoLhiW4xIRh3ektVINIo1uEY6Fqma2wMzjE8xwpvbe l_4dFgzeRjHu6lPwhMPYBxpI3B0aj6hXCo6svL5CWE29sgUOgOUitvqjKgy_ dkJcLJMi3BJEj7ll2TquinH9aS7G1_H4OonvQIr2wRwSn4XgCFrdhcvWObIv i6pMXQACruxPhVMJDbD1euY4.IOCXDyUbdntzxXYEg3G5JtNWkjf7DHnVuLb viQJdzY8z1XDQG1Ek7qvouqsAYH67aCWT7D_PoY_tNZKvWbxDiWdpRp7IvxD gGSCaJ_yer4f45nKPI8kWEI.Y5oolxT318nXQjnfTXCqZfGy1ag0G8msfT0k WfEqdgGCpv4ahpo5M2nnDWJvYBMIj4nIxy6iXkPHkKvOpZyA48c9_9xtizVP bTqxxJSGNKd9dHZGf1lsSo_cXTR.pnGVV1KFvbnvsFPxDAJMQdcILBe6wtpo ee3HVST4hdQsT85Yl12aZO7mHehW.NsdbmTmb67c8rkLCmOOpYQ-- Received: from [24.130.114.129] by web140604.mail.bf1.yahoo.com via HTTP; Sat, 02 Mar 2013 12:56:32 PST X-Rocket-MIMEInfo: 001.001,VGhleSBhcmUgZmx1c2hlZCB0byAzIG5vZGVzIChidXQgbm90IHN5bmMnZWQgdG8gZGlzayBvbiB0aG9zZSByZXBsaWNhcyksIHNvIHlvdSdsbCBlYXQgMyBuZXR3b3JrIFJUVHMuCgpJIHdyb3RlIGEgYml0IGFib3V0IHRoaXMgaGVyZTogaHR0cDovL2hhZG9vcC1oYmFzZS5ibG9nc3BvdC5jb20vMjAxMi8wNS9oYmFzZS1oZGZzLWFuZC1kdXJhYmxlLXN5bmMuaHRtbAoKWW91IGNhbiBzd2l0Y2ggYSBjb2x1bW4gZmFtaWx5IHRvIGRlZmVycmVkIGxvZyBmbHVzaC4gSW4gdGhhdCBjYXNlIHRoZSBlZGl0IGlzIGYBMAEBAQE- X-RocketYMMF: lhofhansl X-Mailer: YahooMailWebService/0.8.135.514 References: <1362195777.67783.YahooMailNeo@web140603.mail.bf1.yahoo.com> <1362245928.60994.YahooMailNeo@web140603.mail.bf1.yahoo.com> Message-ID: <1362257792.73980.YahooMailNeo@web140604.mail.bf1.yahoo.com> Date: Sat, 2 Mar 2013 12:56:32 -0800 (PST) From: lars hofhansl Reply-To: lars hofhansl Subject: Re: HBase Thrift inserts bottlenecked somewhere -- but where? To: "user@hbase.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1023258982-1545744671-1362257792=:73980" X-Virus-Checked: Checked by ClamAV on apache.org --1023258982-1545744671-1362257792=:73980 Content-Type: text/plain; charset=us-ascii They are flushed to 3 nodes (but not sync'ed to disk on those replicas), so you'll eat 3 network RTTs. I wrote a bit about this here: http://hadoop-hbase.blogspot.com/2012/05/hbase-hdfs-and-durable-sync.html You can switch a column family to deferred log flush. In that case the edit is flushed to the 3 replication asynchronously with 1 or 2 secs. (And if even get to finish HBASE-7801, one can control this per mutation). -- Lars ________________________________ From: Dan Crosta To: "user@hbase.apache.org" Sent: Saturday, March 2, 2013 10:47 AM Subject: Re: HBase Thrift inserts bottlenecked somewhere -- but where? On Mar 2, 2013, at 12:38 PM, lars hofhansl wrote: > "That's only true from the HDFS perspective, right? Any given region is > "owned" by 1 of the 6 regionservers at any given time, and writes are > buffered to memory before being persisted to HDFS, right?" > > Only if you disabled the WAL, otherwise each change is written to the WAL first, and then committed to the memstore. > So in the sense it's even worse. Each edit is written twice to the FS, replicated 3 times, and all that only 6 data nodes. Are these writes synchronized somehow? Could there be a locking problem somewhere that wouldn't show up as utilization of disk or cpu? What is the upshot of disabling WAL -- I assume it means that if a RegionServer crashes, you lose any writes that it has in memory but not committed to HFiles? > 20k writes does seem a bit low. I adjusted dfs.datanode.handler.count from 3 to 10 and now we're up to about 22-23k writes per second, but still no apparent contention for any of the basic system resources. Any other suggestions on things to try? Thanks, - Dan --1023258982-1545744671-1362257792=:73980--