You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anirudh Todi (JIRA)" <ji...@apache.org> on 2011/06/27 21:35:47 UTC

[jira] [Created] (HBASE-4036) Implementing a MultipleColumnPrefixFilter

Implementing a MultipleColumnPrefixFilter
-----------------------------------------

                 Key: HBASE-4036
                 URL: https://issues.apache.org/jira/browse/HBASE-4036
             Project: HBase
          Issue Type: New Feature
            Reporter: Anirudh Todi
            Assignee: Anirudh Todi
            Priority: Minor


Implementing a MultipleColumnPrefixFilter so that a user can now specify multiple column prefixes. If the qualifier matches any of the prefixes - it will be accepted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4036) Implementing a MultipleColumnPrefixFilter

Posted by "Anirudh Todi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anirudh Todi updated HBASE-4036:
--------------------------------

    Attachment: TestMultipleColumnPrefixFilter.java

Hi Stack,

Attached is a test case

> Implementing a MultipleColumnPrefixFilter
> -----------------------------------------
>
>                 Key: HBASE-4036
>                 URL: https://issues.apache.org/jira/browse/HBASE-4036
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Anirudh Todi
>            Assignee: Anirudh Todi
>            Priority: Minor
>         Attachments: MultipleColumnPrefixFilter.txt, TestMultipleColumnPrefixFilter.java
>
>
> Implementing a MultipleColumnPrefixFilter so that a user can now specify multiple column prefixes. If the qualifier matches any of the prefixes - it will be accepted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4036) Implementing a MultipleColumnPrefixFilter

Posted by "Anirudh Todi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anirudh Todi updated HBASE-4036:
--------------------------------

    Attachment: RevisedTestMultipleColumnPrefixFilter.java

Hi Stack - could you try it with the updated test. The code for the MultipleColumnPrefixFilter can remain the same.

I've tested this myself and it built successfully

> Implementing a MultipleColumnPrefixFilter
> -----------------------------------------
>
>                 Key: HBASE-4036
>                 URL: https://issues.apache.org/jira/browse/HBASE-4036
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Anirudh Todi
>            Assignee: Anirudh Todi
>            Priority: Minor
>         Attachments: MultipleColumnPrefixFilter.txt, RevisedTestMultipleColumnPrefixFilter.java, TestMultipleColumnPrefixFilter.java
>
>
> Implementing a MultipleColumnPrefixFilter so that a user can now specify multiple column prefixes. If the qualifier matches any of the prefixes - it will be accepted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4036) Implementing a MultipleColumnPrefixFilter

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056274#comment-13056274 ] 

stack commented on HBASE-4036:
------------------------------

Patch looks good Anirudh.  Any chance of a test.  A test will help ensure this filter keeps working into the future as hbase changes under it.  Thanks.

> Implementing a MultipleColumnPrefixFilter
> -----------------------------------------
>
>                 Key: HBASE-4036
>                 URL: https://issues.apache.org/jira/browse/HBASE-4036
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Anirudh Todi
>            Assignee: Anirudh Todi
>            Priority: Minor
>         Attachments: MultipleColumnPrefixFilter.txt
>
>
> Implementing a MultipleColumnPrefixFilter so that a user can now specify multiple column prefixes. If the qualifier matches any of the prefixes - it will be accepted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4036) Implementing a MultipleColumnPrefixFilter

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056294#comment-13056294 ] 

stack commented on HBASE-4036:
------------------------------

Thank you Anirudh.  I tried it and got this on trunk:

{code}
INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/Users/Stack/checkouts/clean_trunk/src/test/java/org/apache/hadoop/hbase/filter/TestMultipleColumnPrefixFilter.java:[50,23] cannot find symbol
symbol  : constructor HRegionInfo(org.apache.hadoop.hbase.HTableDescriptor,<nulltype>,<nulltype>,boolean)
location: class org.apache.hadoop.hbase.HRegionInfo

/Users/Stack/checkouts/clean_trunk/src/test/java/org/apache/hadoop/hbase/filter/TestMultipleColumnPrefixFilter.java:[51,28] cannot find symbol
symbol  : method createHRegion(org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.fs.Path,org.apache.hadoop.conf.Configuration)
location: class org.apache.hadoop.hbase.regionserver.HRegion

/Users/Stack/checkouts/clean_trunk/src/test/java/org/apache/hadoop/hbase/filter/TestMultipleColumnPrefixFilter.java:[109,23] cannot find symbol
symbol  : constructor HRegionInfo(org.apache.hadoop.hbase.HTableDescriptor,<nulltype>,<nulltype>,boolean)
location: class org.apache.hadoop.hbase.HRegionInfo

/Users/Stack/checkouts/clean_trunk/src/test/java/org/apache/hadoop/hbase/filter/TestMultipleColumnPrefixFilter.java:[110,28] cannot find symbol
symbol  : method createHRegion(org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.fs.Path,org.apache.hadoop.conf.Configuration)
location: class org.apache.hadoop.hbase.regionserver.HRegion

/Users/Stack/checkouts/clean_trunk/src/test/java/org/apache/hadoop/hbase/filter/TestMultipleColumnPrefixFilter.java:[172,23] cannot find symbol
symbol  : constructor HRegionInfo(org.apache.hadoop.hbase.HTableDescriptor,<nulltype>,<nulltype>,boolean)
location: class org.apache.hadoop.hbase.HRegionInfo

/Users/Stack/checkouts/clean_trunk/src/test/java/org/apache/hadoop/hbase/filter/TestMultipleColumnPrefixFilter.java:[173,28] cannot find symbol
symbol  : method createHRegion(org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.fs.Path,org.apache.hadoop.conf.Configuration)
location: class org.apache.hadoop.hbase.regionserver.HRegion
{code}

Does it compile for you?

> Implementing a MultipleColumnPrefixFilter
> -----------------------------------------
>
>                 Key: HBASE-4036
>                 URL: https://issues.apache.org/jira/browse/HBASE-4036
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Anirudh Todi
>            Assignee: Anirudh Todi
>            Priority: Minor
>         Attachments: MultipleColumnPrefixFilter.txt, TestMultipleColumnPrefixFilter.java
>
>
> Implementing a MultipleColumnPrefixFilter so that a user can now specify multiple column prefixes. If the qualifier matches any of the prefixes - it will be accepted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4036) Implementing a MultipleColumnPrefixFilter

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057008#comment-13057008 ] 

Hudson commented on HBASE-4036:
-------------------------------

Integrated in HBase-TRUNK #1997 (See [https://builds.apache.org/job/HBase-TRUNK/1997/])
    HBASE-4036 Implementing a MultipleColumnPrefixFilter

stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.java
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/filter/TestMultipleColumnPrefixFilter.java


> Implementing a MultipleColumnPrefixFilter
> -----------------------------------------
>
>                 Key: HBASE-4036
>                 URL: https://issues.apache.org/jira/browse/HBASE-4036
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Anirudh Todi
>            Assignee: Anirudh Todi
>            Priority: Minor
>             Fix For: 0.92.0
>
>         Attachments: MultipleColumnPrefixFilter.txt, RevisedTestMultipleColumnPrefixFilter.java, TestMultipleColumnPrefixFilter.java
>
>
> Implementing a MultipleColumnPrefixFilter so that a user can now specify multiple column prefixes. If the qualifier matches any of the prefixes - it will be accepted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-4036) Implementing a MultipleColumnPrefixFilter

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-4036.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Hadoop Flags: [Reviewed]

Committed to TRUNK.  Thanks for the patch Anirudh.

> Implementing a MultipleColumnPrefixFilter
> -----------------------------------------
>
>                 Key: HBASE-4036
>                 URL: https://issues.apache.org/jira/browse/HBASE-4036
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Anirudh Todi
>            Assignee: Anirudh Todi
>            Priority: Minor
>             Fix For: 0.92.0
>
>         Attachments: MultipleColumnPrefixFilter.txt, RevisedTestMultipleColumnPrefixFilter.java, TestMultipleColumnPrefixFilter.java
>
>
> Implementing a MultipleColumnPrefixFilter so that a user can now specify multiple column prefixes. If the qualifier matches any of the prefixes - it will be accepted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4036) Implementing a MultipleColumnPrefixFilter

Posted by "Anirudh Todi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anirudh Todi updated HBASE-4036:
--------------------------------

    Attachment: MultipleColumnPrefixFilter.txt

Implements a MultipleColumnPrefixFilter

> Implementing a MultipleColumnPrefixFilter
> -----------------------------------------
>
>                 Key: HBASE-4036
>                 URL: https://issues.apache.org/jira/browse/HBASE-4036
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Anirudh Todi
>            Assignee: Anirudh Todi
>            Priority: Minor
>         Attachments: MultipleColumnPrefixFilter.txt
>
>
> Implementing a MultipleColumnPrefixFilter so that a user can now specify multiple column prefixes. If the qualifier matches any of the prefixes - it will be accepted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira