[jira] [Updated] (HBASE-7010) PrefixFilter should seek to first matching row

2012-11-09 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-7010:
-

   Resolution: Won't Fix
Fix Version/s: (was: 0.94.4)
   (was: 0.96.0)
   Status: Resolved  (was: Patch Available)

It's not worth it. The Filter/FilterList stuff is too fragile to make this 
change.
PrefixFilter must be used together with a proper startRow.

> PrefixFilter should seek to first matching row
> --
>
> Key: HBASE-7010
> URL: https://issues.apache.org/jira/browse/HBASE-7010
> Project: HBase
>  Issue Type: Bug
>Reporter: Lars Hofhansl
>Assignee: Lars Hofhansl
>Priority: Minor
> Attachments: 7010-experimental.txt, 7010.txt
>
>
> Currently a PrefixFilter will happily scan all KVs < prefix.
> If should seek forward to the prefix if the current KV < prefix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7010) PrefixFilter should seek to first matching row

2012-11-08 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-7010:
-

Attachment: 7010-experimental.txt

This patch fixes the issue:
# Short circuits the MUST_PASS_ONE case just like it is done in the 
MUST_PASS_ALL case.
# filter.filterRow() is called *after* filterKeyValue in the normal flow of 
things. This makes the test do the same where it matters.

I am quite skeptical about this.

> PrefixFilter should seek to first matching row
> --
>
> Key: HBASE-7010
> URL: https://issues.apache.org/jira/browse/HBASE-7010
> Project: HBase
>  Issue Type: Bug
>Reporter: Lars Hofhansl
>Assignee: Lars Hofhansl
>Priority: Minor
> Fix For: 0.96.0, 0.94.4
>
> Attachments: 7010-experimental.txt, 7010.txt
>
>
> Currently a PrefixFilter will happily scan all KVs < prefix.
> If should seek forward to the prefix if the current KV < prefix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7010) PrefixFilter should seek to first matching row

2012-11-08 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-7010:
-

Attachment: 7010.txt

Here's a patch that does that.

> PrefixFilter should seek to first matching row
> --
>
> Key: HBASE-7010
> URL: https://issues.apache.org/jira/browse/HBASE-7010
> Project: HBase
>  Issue Type: Bug
>Reporter: Lars Hofhansl
>Priority: Minor
> Fix For: 0.96.0, 0.94.4
>
> Attachments: 7010.txt
>
>
> Currently a PrefixFilter will happily scan all KVs < prefix.
> If should seek forward to the prefix if the current KV < prefix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7010) PrefixFilter should seek to first matching row

2012-11-08 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-7010:
-

Status: Patch Available  (was: Open)

> PrefixFilter should seek to first matching row
> --
>
> Key: HBASE-7010
> URL: https://issues.apache.org/jira/browse/HBASE-7010
> Project: HBase
>  Issue Type: Bug
>Reporter: Lars Hofhansl
>Priority: Minor
> Fix For: 0.96.0, 0.94.4
>
> Attachments: 7010.txt
>
>
> Currently a PrefixFilter will happily scan all KVs < prefix.
> If should seek forward to the prefix if the current KV < prefix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7010) PrefixFilter should seek to first matching row

2012-10-23 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-7010:
-

Fix Version/s: (was: 0.94.3)
   0.94.4

Moving to 0.94.4. PrefixFilter really should always be combined with setting 
the startRow in the Scan.

> PrefixFilter should seek to first matching row
> --
>
> Key: HBASE-7010
> URL: https://issues.apache.org/jira/browse/HBASE-7010
> Project: HBase
>  Issue Type: Bug
>Reporter: Lars Hofhansl
>Priority: Minor
> Fix For: 0.96.0, 0.94.4
>
>
> Currently a PrefixFilter will happily scan all KVs < prefix.
> If should seek forward to the prefix if the current KV < prefix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7010) PrefixFilter should seek to first matching row

2012-10-18 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl updated HBASE-7010:
-

Description: 
Currently a PrefixFilter will happily scan all KVs < prefix.
If should seek forward to the prefix if the current KV < prefix.

  was:
Current a PrefixFilter will happily scan all KVs < prefix.
If should seek forward to the prefix if the current KV < prefix.


> PrefixFilter should seek to first matching row
> --
>
> Key: HBASE-7010
> URL: https://issues.apache.org/jira/browse/HBASE-7010
> Project: HBase
>  Issue Type: Bug
>Reporter: Lars Hofhansl
>Priority: Minor
> Fix For: 0.94.3, 0.96.0
>
>
> Currently a PrefixFilter will happily scan all KVs < prefix.
> If should seek forward to the prefix if the current KV < prefix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira