www.HadoopExam.com

HadoopExam Learning Resources

HadoopExam Training, Interview Questions, Certifications, Projects, POC and Hands On exercise access

    40000+ Learners upgraded/switched career    Testimonials

HBase Interview Questions - HBase Questions 6

 Q51. Can you describe the HBase Client: AutoFlush ?
 Answer : When performing a lot of Puts, make sure that setAutoFlush is  set to false on your HTable instance. Otherwise, the Puts will be sent one at a time to the RegionServer. Puts added via  htable.add(Put) and  htable.add( <List> 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 HTable instance will invoke flushCommits.

 

 

 

You are here: Home Interview Questions HBase Interview Questions