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 2E85211F24 for ; Sat, 7 Jun 2014 00:13:51 +0000 (UTC) Received: (qmail 81267 invoked by uid 500); 7 Jun 2014 00:13:49 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 81187 invoked by uid 500); 7 Jun 2014 00:13:49 -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 Delivered-To: moderator for user@hbase.apache.org Received: (qmail 23271 invoked by uid 99); 6 Jun 2014 23:37:52 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of hao.leng@dish.com does not designate 216.139.236.26 as permitted sender) Date: Fri, 6 Jun 2014 16:37:26 -0700 (PDT) From: Hotec04 To: user@hbase.apache.org Message-ID: <1402097846611-4060091.post@n3.nabble.com> In-Reply-To: References: <1402092060342-4060081.post@n3.nabble.com> Subject: Re: [Discuss] HBase with multiple threads MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jonathan, I followed your suggestion to modify it to HConnection, it runs faster but still have message dropping issue. I used a synchronized block to protect table.flushCommits. It looks like when one thread is doing flushCommits while another thread is doing it as well, then one of their message will be dropped. Any advises on this? Thank you all! -- View this message in context: http://apache-hbase.679495.n3.nabble.com/Discuss-HBase-with-multiple-threads-tp4060081p4060091.html Sent from the HBase User mailing list archive at Nabble.com.