Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # dev - No autoflush from table within coprocessor?


Copy link to this message
-
RE: No autoflush from table within coprocessor?
Anoop Sam John 2012-06-27, 04:57
Hi Lars
                    autoFlush will be having a default value true right?  On HTable this can be set as false using the setAutoFlush() API. But the CoprocessorEnvironment.getTable() returns HTableInterface type with object as a wrapper around the actual HTable. So here the underlying table will be having autoflush=true.   This seems ok right?  

-Anoop-
________________________________________
From: Lars George [[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2012 11:57 PM
To: [EMAIL PROTECTED]
Subject: No autoflush from table within coprocessor?

Hi,

Did anyone else observe the need to call flushCommits() from a table retrieved by the CoprocessorEnvironment.getTable() call? Looking at the code, it should also have autoFlush set to "true", but it does not seem to honor that?

Lars