Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F69B10B86 for ; Wed, 31 Jul 2013 13:15:51 +0000 (UTC) Received: (qmail 30053 invoked by uid 500); 31 Jul 2013 13:15:50 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30023 invoked by uid 500); 31 Jul 2013 13:15:49 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 29985 invoked by uid 99); 31 Jul 2013 13:15:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 13:15:49 +0000 Date: Wed, 31 Jul 2013 13:15:49 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9093) Hbase client API: Restore the writeToWal method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725207#comment-13725207 ] Hudson commented on HBASE-9093: ------------------------------- SUCCESS: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #645 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/645/]) HBASE-9093 Hbase client API: Restore the writeToWal method (stack: rev 1508702) * /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java * /hbase/trunk/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestPutWriteToWal.java > Hbase client API: Restore the writeToWal method > ----------------------------------------------- > > Key: HBASE-9093 > URL: https://issues.apache.org/jira/browse/HBASE-9093 > Project: HBase > Issue Type: Bug > Components: Client, Usability > Affects Versions: 0.95.0 > Reporter: Hari Shreedharan > Fix For: 0.98.0, 0.95.2 > > Attachments: HBASE-9093.patch, HBASE-9093.patch, HBASE-9093.patch > > > The writeToWal is used by downstream projects like Flume to disable writes to WAL to improve performance when durability is not strictly required. But renaming this method to setDurability forces us to use reflection to support hbase versions < 95 - which in turn hits performance, as this method needs to be called on every single write. I recommend adding the old method back as deprecated and removing it once hbase-95/96 becomes the popular version used in prod. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira