hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1891) Scanner is jumping a full cache of rows
Date Wed, 07 Oct 2009 07:12:31 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Zheng Shao updated HBASE-1891:

    Attachment: Tester.java

This is the code.

To run the code, compile it into a jar, add the jar to CLASSPATH, and start:

bin/hbase com.example.hbase.Tester -rows 2000000 -length 100 -autoflush false -writebuffersize
250000 -caching 1000

> Scanner is jumping a full cache of rows
> ---------------------------------------
>                 Key: HBASE-1891
>                 URL: https://issues.apache.org/jira/browse/HBASE-1891
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>            Reporter: Zheng Shao
>         Attachments: Tester.java
> I ran my program multiple times and this is happening almost all the time.
> Basically, the ResultScanner is skipping a full cache of rows. I set my caching size
to 1000, and when I expect to see row 60000 it gave me 60999.
> My code (will attach here) is creating a new table with a single column family and qualifier,
and then write 1 million rows with ascending keys, then immediately read them back to verify.
> The HBase code is from:
> http://svn.apache.org/repos/asf/hadoop/hbase/trunk at
> Exported revision 821973.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message