Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: HBase Batch Insertion

$
0
0

First, thanks for your reply,

I looked a little bit at the BufferedMutator
There are still a few things that are not clear to me:

1. Whats the difference between BufferedMutator and performing the table.batch operation? Is it that the BufferedMutator knows when it is best to flush the table? It seems like both are asynchronous so I wonder whats the difference
2. Also I’ve seen a link that says that in order to perform batch insertions we should use BufferedMutator, however it also says that:

For fine-grained control of batching of Puts or Deletes, see the batch methods on Table.

. Could you explain what I can do with the table.batch that I can’t do with BufferedMutator? What kind of fine-grained control?
3. I’m still curious about the InterruptedException in the table.batch operation, could you explain who/what can interrupt the batch execution?

Again thanks for the information, I appreciate it :)


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>