Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 00259200CEF for ; Mon, 4 Sep 2017 10:07:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2D941638F9; Mon, 4 Sep 2017 08:07:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 43E401638F6 for ; Mon, 4 Sep 2017 10:07:11 +0200 (CEST) Received: (qmail 12721 invoked by uid 500); 4 Sep 2017 08:07:10 -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 11679 invoked by uid 99); 4 Sep 2017 08:07:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2017 08:07:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 427501A0C6D for ; Mon, 4 Sep 2017 08:07:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id EVVhrbIQ3eBa for ; Mon, 4 Sep 2017 08:07:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C268C61267 for ; Mon, 4 Sep 2017 08:07:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E52BCE0EDB for ; Mon, 4 Sep 2017 08:07:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id E10EF2415B for ; Mon, 4 Sep 2017 08:07:02 +0000 (UTC) Date: Mon, 4 Sep 2017 08:07:02 +0000 (UTC) From: "Chia-Ping Tsai (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16390) Fix documentation around setAutoFlush MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 04 Sep 2017 08:07:12 -0000 [ https://issues.apache.org/jira/browse/HBASE-16390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai updated HBASE-16390: ----------------------------------- Fix Version/s: 2.0.0-alpha-3 > Fix documentation around setAutoFlush > ------------------------------------- > > Key: HBASE-16390 > URL: https://issues.apache.org/jira/browse/HBASE-16390 > Project: HBase > Issue Type: Bug > Components: documentation > Reporter: stack > Assignee: Sahil Aggarwal > Priority: Minor > Labels: beginner > Fix For: 2.0.0-alpha-3 > > Attachments: HBASE-16390.master.001.patch > > > Our documentation is a little confused around setAutoFlush. Talks of Table but setAutoFlush is not in the Table interface. It was on HTable but was deprecated and since removed. Clean up the doc: > {code} > 100.4. HBase Client: AutoFlush > When performing a lot of Puts, make sure that setAutoFlush is set to false > on your Table > > instance. > Otherwise, the Puts will be sent one at a time to the RegionServer. Puts > added via table.add(Put) and table.add( Put) wind up in the same > write buffer. If autoFlush = false, these messages are not sent until the > write-buffer is filled. To explicitly flush the messages, call flushCommits. > Calling close on the Table instance will invoke flushCommits > {code} > Spotted by Jeff Shmain. -- This message was sent by Atlassian JIRA (v6.4.14#64029)