[
https://issues.apache.org/jira/browse/HBASE-23074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bo Cui updated HBASE-23074:
---------------------------
Description:
I found a problem, it could be a mistake..
reproduce steps in hbase shell:
1. create 't11', \{NAME => 'f1', VERSIONS => 1}
2.put 't11','r1','f1:q1','f1'
3.flush 't11'
4.put 't11','r1','f1:q1','f2'
5.flush 't11'
6.scan 't11', \{RAW => true, VERSIONS => 10, FILTER => "(QualifierFilter (>=,
'binary:f1'))"}
the result:
# 1.3.1 version
hbase(main):011:0> scan 't11', \{RAW => true, VERSIONS => 10, FILTER =>
"(QualifierFilter (>=, 'binary:q1'))"}
ROW COLUMN+CELL
2019-09-25 16:31:22,289 INFO [hconnection-0x7459a21e-shared--pool3-t15]
ipc.AbstractRpcClient: RPC Server Kerberos principal name for
service=ClientService is hbase/[email protected]
r1 column=f1:q1, timestamp=1569400085570, value=f2
r1 column=f1:q1, timestamp=1569400068958, value=f1
# 2. in 2.1.1 version
hbase(main):023:0> scan 't11', \{RAW => true, VERSIONS => 10, FILTER =>
"(QualifierFilter (>=, 'binary:q1'))"}
ROW COLUMN+CELL
r1 column=f1:q1, timestamp=1569400122280, value=f2
1 row(s)
Took 0.0800 seconds
was:
I found a problem, it could be a mistake..
reproduce steps in hbase shell:
1. create 't11', \{NAME => 'f1', VERSIONS => 1}
2.put 't11','r1','f1:q1','f1'
3.flush 't11'
4.put 't11','r1','f1:q1','f2'
5.flush 't11'
6.scan 't11', \{RAW => true, VERSIONS => 10, FILTER => "(QualifierFilter (>=,
'binary:f1'))"}
the result:
# 1.3.1 version
hbase(main):011:0> scan 't11', {RAW => true, VERSIONS => 10, FILTER =>
"(QualifierFilter (>=, 'binary:f1'))"}
ROW COLUMN+CELL
2019-09-25 16:31:22,289 INFO [hconnection-0x7459a21e-shared--pool3-t15]
ipc.AbstractRpcClient: RPC Server Kerberos principal name for
service=ClientService is hbase/[email protected]
r1 column=f1:q1,
timestamp=1569400085570, value=f2
r1 column=f1:q1,
timestamp=1569400068958, value=f1
# 2. in 2.1.1 version
hbase(main):023:0> scan 't11', \{RAW => true, VERSIONS => 10, FILTER =>
"(QualifierFilter (>=, 'binary:f1'))"}
ROW COLUMN+CELL
r1 column=f1:q1, timestamp=1569400122280, value=f2
1 row(s)
Took 0.0800 seconds
> scan#setVersion is invalid.
> ---------------------------
>
> Key: HBASE-23074
> URL: https://issues.apache.org/jira/browse/HBASE-23074
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.1.1
> Reporter: Bo Cui
> Priority: Critical
> Attachments: image-2019-09-25-16-45-08-870.png,
> image-2019-09-25-16-45-37-780.png
>
>
> I found a problem, it could be a mistake..
> reproduce steps in hbase shell:
> 1. create 't11', \{NAME => 'f1', VERSIONS => 1}
> 2.put 't11','r1','f1:q1','f1'
> 3.flush 't11'
> 4.put 't11','r1','f1:q1','f2'
> 5.flush 't11'
> 6.scan 't11', \{RAW => true, VERSIONS => 10, FILTER => "(QualifierFilter (>=,
> 'binary:f1'))"}
>
> the result:
> # 1.3.1 version
> hbase(main):011:0> scan 't11', \{RAW => true, VERSIONS => 10, FILTER =>
> "(QualifierFilter (>=, 'binary:q1'))"}
> ROW COLUMN+CELL
> 2019-09-25 16:31:22,289 INFO [hconnection-0x7459a21e-shared--pool3-t15]
> ipc.AbstractRpcClient: RPC Server Kerberos principal name for
> service=ClientService is hbase/[email protected]
> r1 column=f1:q1, timestamp=1569400085570, value=f2
> r1 column=f1:q1, timestamp=1569400068958, value=f1
> # 2. in 2.1.1 version
> hbase(main):023:0> scan 't11', \{RAW => true, VERSIONS => 10, FILTER =>
> "(QualifierFilter (>=, 'binary:q1'))"}
> ROW COLUMN+CELL
> r1 column=f1:q1, timestamp=1569400122280, value=f2
> 1 row(s)
> Took 0.0800 seconds
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)