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

Izaak Rubin updated HADOOP-1579:
--------------------------------

    Attachment: HADOOP-1579-v5.patch

This patch only differs from HADOOP-1579-v4.patch in if-statement formatting: 
if-statements predicating one line are now surrounded by braces, as per HBase 
standards.

Note that HADOOP-1606 changes RowFilterInterface, and therefore must be 
committed before HADOOP-1579.

All HBase tests have passed successfully.  At present the test: 

org.apache.hadoop.streaming.TestSymLink

is not functioning.  Nonetheless all preceding HADOOP tests are passing, and 
this particular test in no way reflects on the functionality and compatibility 
of HBase within HADOOP.

> [hbase] Add new WhileMatchRowFilter and StopRowFilter filters
> -------------------------------------------------------------
>
>                 Key: HADOOP-1579
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1579
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: contrib/hbase
>            Reporter: Izaak Rubin
>            Priority: Minor
>         Attachments: HADOOP-1579-v2.patch, HADOOP-1579-v3.patch, 
> HADOOP-1579-v4.patch, HADOOP-1579-v5.patch, HADOOP-1579.patch
>
>
> I've created two additional filters for HBase: WhileMatchRowFilter and 
> StopRowFilter.  WhileMatchRowFilter is an extension of RegExpRowFilter; it 
> also filters rows based on whether they match a specified regex.  However, 
> unlike its parent, WhileMatchRowFilter filters everything after it's first 
> filtered row - once a row fails to match regex or column specifications, 
> filterAllRemaining() always returns true.  This type of functionality will be 
> useful when filtering for a set of adjacent rows that match a certain regex 
> (as opposed to every row that matches that regex).
> StopRowFilter filters out every row greater than or equal to a specified 
> rowKey (the stopRow).  The filter assumes that the rowKeys it receives are in 
> alphabetical order, so once a key greater than the stopRow is encountered 
> filterAllRemaining() will return true.  StopRowFilter will be useful for 
> alphabetical filtering.
> Both filters come with JUnit tests, namely TestWhileMatchRowFilter and 
> TestStopRowFilter.

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

Reply via email to