Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 50133 invoked from network); 17 Aug 2009 22:41:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 22:41:18 -0000 Received: (qmail 54221 invoked by uid 500); 17 Aug 2009 22:41:37 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 54169 invoked by uid 500); 17 Aug 2009 22:41:37 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 54159 invoked by uid 99); 17 Aug 2009 22:41:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 22:41:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 22:41:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2B45A234C498 for ; Mon, 17 Aug 2009 15:41:15 -0700 (PDT) Message-ID: <691809345.1250548875176.JavaMail.jira@brutus> Date: Mon, 17 Aug 2009 15:41:15 -0700 (PDT) From: "Mathias Herberts (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-1770) HTable.setWriteBufferSize does not flush the writeBuffer when its size is set to a value lower than its current size. In-Reply-To: <1337675787.1250548395124.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mathias Herberts updated HBASE-1770: ------------------------------------ Attachment: setWriteBufferSize-flushCommits.patch Adds call to flushCommits if the new size of the write buffer is lower than the current size of the data in the buffer. Side effect is that setWriteBufferSize now throws IOException as propagated from flushCommits. > HTable.setWriteBufferSize does not flush the writeBuffer when its size is set to a value lower than its current size. > --------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-1770 > URL: https://issues.apache.org/jira/browse/HBASE-1770 > Project: Hadoop HBase > Issue Type: Improvement > Components: client > Affects Versions: 0.20.0 > Environment: All > Reporter: Mathias Herberts > Priority: Trivial > Attachments: setWriteBufferSize-flushCommits.patch > > > When setting the size of the write buffer to a value lower than the current size of data in the write buffer, the content of the write buffer should be flushed so it does not occupy in memory more than its new size for an extended period of time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.