See this javadoc at the beginning of HTable: * <p>This class is not thread safe for reads nor write.
Which hbase release are you using ? Cheers On Fri, Jun 6, 2014 at 3:01 PM, Hotec04 <[email protected]> wrote: > Hi HBase users, > > I try to implement multiple threads for HBase writing process, but looks > like the table.flushCommites() breaks thread easily. Then I add a > synchronized blocker for it, it flows but when I publish 50 messages, about > 2 of them are missing...I am using HTablePool as well, so when every thread > comes in, they grab one Htable but all Htables are using the same table. > > Any ideas on how to work with HTable put operation for multiple threads? > > Thank you! > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/Discuss-HBase-with-multiple-threads-tp4060081.html > Sent from the HBase User mailing list archive at Nabble.com. >
