Re: Problems with scan after lot of Puts

2012-06-01 Thread Ondřej Stašek
AM, Ondřej Stašek ondrej.sta...@firma.seznam.cz wrote: Hallo J-D. Thanks for reply. I've modified my code to use scanner copies - table.getScanner(new Scan(scan)) and run it again. Even after that I got an error: 12/05/31 10:42:39 INFO hbase.TestPutScan: Run 5 put 100 rows 12/05/31 10:44

Re: Problems with scan after lot of Puts

2012-05-31 Thread Ondřej Stašek
: HTable.ClientScanner needs to clone the Scan object https://issues.apache.org/jira/browse/HBASE-4891 And since you are reusing that Scan object, you could definitely hit this issue. J-D On Tue, May 29, 2012 at 11:37 PM, Ondřej Stašek ondrej.sta...@firma.seznam.cz wrote: Here it is: http

Re: Problems with scan after lot of Puts

2012-05-30 Thread Ondřej Stašek
Here it is: http://pastebin.com/0AgsQjur On 29.5.2012 22:44, Jean-Daniel Cryans wrote: Care to share that TestPutScan? Just attach it in a pastebin Thx, J-D On Tue, May 29, 2012 at 6:13 AM, Ondřej Stašek ondrej.sta...@firma.seznam.cz wrote: My program writes changes to HBase table

Problems with scan after lot of Puts

2012-05-29 Thread Ondřej Stašek
My program writes changes to HBase table by issuing lots of Puts (autoCommit turned off, flush on end) and afterwards uses ResultScanner on whole table to read all rows and act upon them. My problem is that on several occasions scan does not return expected rows. Either scan does not start on