On Wed, Apr 14, 2010 at 4:05 PM, Sujee Maniyam <[email protected]> wrote: > scenario: > - I am writing data into Hbase > - I am also kicking off a MR job that READS from the same table > > When the MR job starts, data-inserts pretty much halt, as if the table > is 'locked out'. > > Is this behavior to be expected? >
No. If you let the MR job run alone, it runs cleanly to the end? St.Ack > my pseudo write code : > HBaseConfiguration hbaseConfig = new HBaseConfiguration(); > Htable table = new HTable(hbaseConfig, "logs"); > table.setAutoFlush(false); > table.setWriteBufferSize(1024 * 1024 * 12); > > My MR job: > - reads from log table > - writes to another table > > can I do these two in parallel? > > thanks > Sujee > > http://sujee.net >
