[
https://issues.apache.org/jira/browse/HBASE-856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-856:
------------------------
Attachment: DelayTest.java
Updated Kryzysiek's test so runs against TRUNK. Also put it into
org.apache.hadoop.hbase package so easier to build.
Do we still have this problem Kryzysiek? Can you confirm? I set it up to run
against a clean cluster of three regionservers and it seems to pass. Am I
doing something incorrect? Thanks.
{code}
durruti:trunk stack$ ./bin/hbase org.apache.hadoop.hbase.DelayTest
---------------DelayTest----------------
08/12/19 12:39:42 DEBUG client.HConnectionManager$TableServers: Found ROOT
REGION => {NAME => '-ROOT-,,0', STARTKEY => '', ENDKEY => '', ENCODED =>
70236052, TABLE => {{NAME => '-ROOT-', IS_ROOT => 'true', IS_META => 'true',
FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', COMPRESSION => 'NONE',
VERSIONS => '10', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false',
BLOCKCACHE => 'true'}], INDEXES => []}}
table tmptable_0 already exists
08/12/19 12:39:42 DEBUG client.HConnectionManager$TableServers: Cache hit in
table locations for row <> and tableName .META.: location server
208.76.44.140:60020, location region name .META.,,1
table tmptable_1 already exists
08/12/19 12:39:43 DEBUG client.HConnectionManager$TableServers: Cache hit in
table locations for row <> and tableName .META.: location server
208.76.44.140:60020, location region name .META.,,1
table tmptable_2 already exists
***********************************
table tmptable_0 test start
inserting some sample data into random row id (aaaaa875500323)
inserted
testing if the new row is available through get method
confirming that data:test value = test of row aaaaa875500323 is available
testing if the new row is available through scanner with filter
08/12/19 12:39:44 DEBUG client.HTable$ClientScanner: Creating scanner over
tmptable_0 starting at key 'a'
08/12/19 12:39:44 DEBUG client.HTable$ClientScanner: Advancing internal scanner
to startKey at 'a'
08/12/19 12:39:44 DEBUG client.HTable$ClientScanner: Advancing forward from
region REGION => {NAME => 'tmptable_0,,1229718846971', STARTKEY => '', ENDKEY
=> '', ENCODED => 1874168015, TABLE => {{NAME => 'tmptable_0', IS_ROOT =>
'false', IS_META => 'false', FAMILIES => [{NAME => 'data', BLOOMFILTER =>
'false', COMPRESSION => 'NONE', VERSIONS => '3', LENGTH => '2147483647', TTL =>
'-1', IN_MEMORY => 'false', BLOCKCACHE => 'true'}], INDEXES => []}}
.08/12/19 12:39:45 DEBUG client.HTable$ClientScanner: Creating scanner over
tmptable_0 starting at key 'a'
08/12/19 12:39:45 DEBUG client.HTable$ClientScanner: Advancing internal scanner
to startKey at 'a'
08/12/19 12:39:45 DEBUG client.HTable$ClientScanner: Advancing forward from
region REGION => {NAME => 'tmptable_0,,1229718846971', STARTKEY => '', ENDKEY
=> '', ENCODED => 1874168015, TABLE => {{NAME => 'tmptable_0', IS_ROOT =>
'false', IS_META => 'false', FAMILIES => [{NAME => 'data', BLOOMFILTER =>
'false', COMPRESSION => 'NONE', VERSIONS => '3', LENGTH => '2147483647', TTL =>
'-1', IN_MEMORY => 'false', BLOCKCACHE => 'true'}], INDEXES => []}}
the new row has been found within 1 seconds
table tmptable_0 test finish
***********************************
***********************************
table tmptable_1 test start
inserting some sample data into random row id (aaaaa323108451)
inserted
testing if the new row is available through get method
confirming that data:test value = test of row aaaaa323108451 is available
testing if the new row is available through scanner with filter
08/12/19 12:39:45 DEBUG client.HTable$ClientScanner: Creating scanner over
tmptable_1 starting at key 'a'
08/12/19 12:39:45 DEBUG client.HTable$ClientScanner: Advancing internal scanner
to startKey at 'a'
08/12/19 12:39:46 DEBUG client.HTable$ClientScanner: Advancing forward from
region REGION => {NAME => 'tmptable_1,,1229718852830', STARTKEY => '', ENDKEY
=> '', ENCODED => 997322999, TABLE => {{NAME => 'tmptable_1', IS_ROOT =>
'false', IS_META => 'false', FAMILIES => [{NAME => 'data', BLOOMFILTER =>
'false', COMPRESSION => 'NONE', VERSIONS => '3', LENGTH => '2147483647', TTL =>
'-1', IN_MEMORY => 'false', BLOCKCACHE => 'true'}], INDEXES => []}}
.08/12/19 12:39:47 DEBUG client.HTable$ClientScanner: Creating scanner over
tmptable_1 starting at key 'a'
08/12/19 12:39:47 DEBUG client.HTable$ClientScanner: Advancing internal scanner
to startKey at 'a'
08/12/19 12:39:47 DEBUG client.HTable$ClientScanner: Advancing forward from
region REGION => {NAME => 'tmptable_1,,1229718852830', STARTKEY => '', ENDKEY
=> '', ENCODED => 997322999, TABLE => {{NAME => 'tmptable_1', IS_ROOT =>
'false', IS_META => 'false', FAMILIES => [{NAME => 'data', BLOOMFILTER =>
'false', COMPRESSION => 'NONE', VERSIONS => '3', LENGTH => '2147483647', TTL =>
'-1', IN_MEMORY => 'false', BLOCKCACHE => 'true'}], INDEXES => []}}
the new row has been found within 1 seconds
table tmptable_1 test finish
***********************************
***********************************
table tmptable_2 test start
inserting some sample data into random row id (aaaaa116122505)
inserted
testing if the new row is available through get method
confirming that data:test value = test of row aaaaa116122505 is available
testing if the new row is available through scanner with filter
08/12/19 12:39:47 DEBUG client.HTable$ClientScanner: Creating scanner over
tmptable_2 starting at key 'a'
08/12/19 12:39:47 DEBUG client.HTable$ClientScanner: Advancing internal scanner
to startKey at 'a'
08/12/19 12:39:47 DEBUG client.HTable$ClientScanner: Advancing forward from
region REGION => {NAME => 'tmptable_2,,1229718858829', STARTKEY => '', ENDKEY
=> '', ENCODED => 703198001, TABLE => {{NAME => 'tmptable_2', IS_ROOT =>
'false', IS_META => 'false', FAMILIES => [{NAME => 'data', BLOOMFILTER =>
'false', COMPRESSION => 'NONE', VERSIONS => '3', LENGTH => '2147483647', TTL =>
'-1', IN_MEMORY => 'false', BLOCKCACHE => 'true'}], INDEXES => []}}
.08/12/19 12:39:48 DEBUG client.HTable$ClientScanner: Creating scanner over
tmptable_2 starting at key 'a'
08/12/19 12:39:48 DEBUG client.HTable$ClientScanner: Advancing internal scanner
to startKey at 'a'
08/12/19 12:39:48 DEBUG client.HTable$ClientScanner: Advancing forward from
region REGION => {NAME => 'tmptable_2,,1229718858829', STARTKEY => '', ENDKEY
=> '', ENCODED => 703198001, TABLE => {{NAME => 'tmptable_2', IS_ROOT =>
'false', IS_META => 'false', FAMILIES => [{NAME => 'data', BLOOMFILTER =>
'false', COMPRESSION => 'NONE', VERSIONS => '3', LENGTH => '2147483647', TTL =>
'-1', IN_MEMORY => 'false', BLOCKCACHE => 'true'}], INDEXES => []}}
the new row has been found within 1 seconds
table tmptable_2 test finish
***********************************
---------------DONE----------------
{code}
> Data inserted into tables is not immidiately visible in the scanner with row
> filter
> -----------------------------------------------------------------------------------
>
> Key: HBASE-856
> URL: https://issues.apache.org/jira/browse/HBASE-856
> Project: Hadoop HBase
> Issue Type: Bug
> Components: filters
> Affects Versions: 0.2.0
> Environment: 3 Region servers on different machines one of them
> running Master too. Ubuntu 8.04 server. Hadoop 0.17.2
> Reporter: Krzysiek Szlapinski
> Assignee: stack
> Fix For: 0.19.0
>
> Attachments: DelayTest.java, DelayTest.java
>
>
> When data is inserted into Region that is on the different machine than the
> Master it is not immidiately available in the scanner that is using RowFilter
> Here is the output of the test case on 3 nodes (tmptable_0 and tmptable_2
> were placed on the region servers that are not running master server).
> ---------------DelayTest----------------
> table tmptable_0 created
> table tmptable_1 created
> table tmptable_2 created
> ***********************************
> table tmptable_0 test start
> inserting some sample data into random row id (aaaaa-2108369209)
> inserted
> testing if the new row is available through get method
> confirming that data:test value = test of row aaaaa-2108369209 is available
> testing if the new row is available through scanner with filter
> ...................................
> the new row has been found within 35 seconds
> table tmptable_0 test finish
> ***********************************
> ***********************************
> table tmptable_1 test start
> inserting some sample data into random row id (aaaaa-20410017)
> inserted
> testing if the new row is available through get method
> confirming that data:test value = test of row aaaaa-20410017 is available
> testing if the new row is available through scanner with filter
> the new row has been found within 0 seconds
> table tmptable_1 test finish
> ***********************************
> ***********************************
> table tmptable_2 test start
> inserting some sample data into random row id (aaaaa1756705479)
> inserted
> testing if the new row is available through get method
> confirming that data:test value = test of row aaaaa1756705479 is available
> testing if the new row is available through scanner with filter
> ....................
> the new row has been found within 20 seconds
> table tmptable_2 test finish
> ***********************************
> ---------------DONE----------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.