Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Safe flush frequency for hbase?

Highlighted

Safe flush frequency for hbase?

New Contributor

Here i am working with hbase and i wanted to know how many flush count per time (count per time) is safest to use.

Any idea?

3 REPLIES 3

Re: Safe flush frequency for hbase?

Super Collaborator

safest use is writing changes immediately. Anything else creates a risk for losses, but increases the speed. It is basically the same as always with a write cache.

Re: Safe flush frequency for hbase?

New Contributor

Tnx for your response dude, Can you please tell me which is the best split policy we can use or any link that has working of all split policy with merits and demerits

Re: Safe flush frequency for hbase?

Super Collaborator

depends on your use pattern and on how acceptable a data loss is for you.

How many write (puts) do you have in your scenario? If you are unsure, i would start with default config and tweak it in case you see poor performance,

To get some more information on the caching and flushing parameters:

http://hadoop-hbase.blogspot.de/2014/07/about-hbase-flushes-and-compactions.html

http://gbif.blogspot.de/2012/07/optimizing-writes-in-hbase.html

Don't have an account?
Coming from Hortonworks? Activate your account here