[ https://issues.apache.org/jira/browse/HBASE-21620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741207#comment-16741207 ]
Zheng Hu commented on HBASE-21620: ---------------------------------- Any improvement ? another reason maybe: the filter list concated by OR will choose the minimal forward step among all sub-filters. in this patch, we have stricter restrictions on all sub filters, include those sub-filter whose has non-null RC returned in calculateReturnCodeByPrevCellAndRC (previously, we will skip to merge this sub-filter's rc, but it's wrong in some case), and merge all of the sub-filter's RC, this is also some time cost. > Problem in scan query when using more than one column prefix filter in some > cases. > ---------------------------------------------------------------------------------- > > Key: HBASE-21620 > URL: https://issues.apache.org/jira/browse/HBASE-21620 > Project: HBase > Issue Type: Bug > Components: scan > Affects Versions: 3.0.0, 1.5.0, 2.2.0, 1.4.8, 2.1.2, 2.0.4 > Environment: hbase-1.4.8, hbase-1.4.9 > hadoop-2.7.3 > Reporter: Mohamed Mohideen Meeran > Assignee: Zheng Hu > Priority: Major > Fix For: 3.0.0, 2.2.0, 2.1.2, 2.0.4 > > Attachments: HBASE-21620.branch-1.patch, HBASE-21620.v1.patch, > HBASE-21620.v2.patch, HBASE-21620.v3.patch, HBASE-21620.v3.patch, > HBaseImportData.java, columnkey.txt, file.txt, test.patch > > > In some cases, unable to get the scan results when using more than one column > prefix filter. > Attached a java file to import the data which we used and a text file > containing the values.. > While executing the following query (hbase shell as well as java program) it > is waiting indefinitely and after RPC timeout we got the following error.. > Also we noticed high cpu, high load average and very frequent young gc in > the region server containing this row... > scan 'namespace:tablename',\{STARTROW => 'test',ENDROW => 'test', FILTER => > "ColumnPrefixFilter('1544770422942010001_') OR > ColumnPrefixFilter('1544769883529010001_')"} > ROW COLUMN+CELL > ERROR: Call id=18, > waitTime=60005, rpcTimetout=60000 > > Note: Table scan operation and scan with a single column prefix filter works > fine in this case. > When we check the same query in hbase-1.2.5 it is working fine. > Can you please help me on this.. -- This message was sent by Atlassian JIRA (v7.6.3#76005)