hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "donhoff_h" <165612...@qq.com>
Subject 回复: HBase1.0 API Problem: setAutoFlush and flushCommits
Date Sun, 05 Apr 2015 09:23:11 GMT
Hi, Lars


Thanks very much for sharing this example.


By the way, does that mean the Puts and Deletes I submitted through table.put and table.delete
won't be buffered and will be flushed immediately?




------------------ 原始邮件 ------------------
发件人: "Lars George";<lars.george@gmail.com>;
发送时间: 2015年4月5日(星期天) 下午5:01
收件人: "user@hbase.apache.org"<user@hbase.apache.org>; 

主题: Re: HBase1.0 API Problem: setAutoFlush and flushCommits



Hi,

This has been moved to BufferedMutator. I have an example here:
https://github.com/larsgeorge/hbase-book/blob/master/ch03/src/main/java/client/BufferedMutatorExample.java

Best,
Lars

On Sun, Apr 5, 2015 at 10:49 AM, donhoff_h <165612158@qq.com> wrote:

> Hi, experts.
>
>
> I migrated my HBase cluster from version 0.98.10 to version 1.0. I find
> that in HBase1.0 the class "Table" does not contain the API setAutoFlush
> and flushCommits any more. Could anybody tell me where these APIs go? What
> should I do now if I want to make a commitment after some Puts operations?
>
>
> Many Thanks!
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message