You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2011/01/24 16:53:43 UTC

[jira] Created: (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

Enhance checkAndPut and checkAndDelete with comparators
-------------------------------------------------------

                 Key: HBASE-3468
                 URL: https://issues.apache.org/jira/browse/HBASE-3468
             Project: HBase
          Issue Type: Improvement
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
             Fix For: 0.92.0


Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.

Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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


[jira] [Updated] (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

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

Andrew Purtell updated HBASE-3468:
----------------------------------

    Attachment: HBASE-3468.patch

Updated patch maintains API compatibility

> Enhance checkAndPut and checkAndDelete with comparators
> -------------------------------------------------------
>
>                 Key: HBASE-3468
>                 URL: https://issues.apache.org/jira/browse/HBASE-3468
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3468.patch, HBASE-3468.patch
>
>
> Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.
> Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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

[jira] [Commented] (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

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

Hudson commented on HBASE-3468:
-------------------------------

Integrated in HBase-TRUNK #1976 (See [https://builds.apache.org/job/HBase-TRUNK/1976/])
    

> Enhance checkAndPut and checkAndDelete with comparators
> -------------------------------------------------------
>
>                 Key: HBASE-3468
>                 URL: https://issues.apache.org/jira/browse/HBASE-3468
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3468.patch, HBASE-3468.patch
>
>
> Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.
> Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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

        

[jira] [Commented] (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

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

stack commented on HBASE-3468:
------------------------------

+1

> Enhance checkAndPut and checkAndDelete with comparators
> -------------------------------------------------------
>
>                 Key: HBASE-3468
>                 URL: https://issues.apache.org/jira/browse/HBASE-3468
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3468.patch, HBASE-3468.patch
>
>
> Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.
> Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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

[jira] [Commented] (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

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

stack commented on HBASE-3468:
------------------------------

Put your new methods at the end of the Interface.  When you put them in the middle as you have done here, you need to up the rpc version.  Apparently you don't if they are on the end.


+1 otherwise.

> Enhance checkAndPut and checkAndDelete with comparators
> -------------------------------------------------------
>
>                 Key: HBASE-3468
>                 URL: https://issues.apache.org/jira/browse/HBASE-3468
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3468.patch
>
>
> Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.
> Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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

[jira] Updated: (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

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

Andrew Purtell updated HBASE-3468:
----------------------------------

    Status: Patch Available  (was: Open)

> Enhance checkAndPut and checkAndDelete with comparators
> -------------------------------------------------------
>
>                 Key: HBASE-3468
>                 URL: https://issues.apache.org/jira/browse/HBASE-3468
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3468.patch
>
>
> Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.
> Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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

        

[jira] [Updated] (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

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

Andrew Purtell updated HBASE-3468:
----------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed to trunk. Passes local tests.

> Enhance checkAndPut and checkAndDelete with comparators
> -------------------------------------------------------
>
>                 Key: HBASE-3468
>                 URL: https://issues.apache.org/jira/browse/HBASE-3468
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3468.patch, HBASE-3468.patch
>
>
> Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.
> Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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

[jira] [Commented] (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

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

Hudson commented on HBASE-3468:
-------------------------------

Integrated in HBase-TRUNK #1806 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1806/])
    

> Enhance checkAndPut and checkAndDelete with comparators
> -------------------------------------------------------
>
>                 Key: HBASE-3468
>                 URL: https://issues.apache.org/jira/browse/HBASE-3468
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3468.patch, HBASE-3468.patch
>
>
> Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.
> Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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

[jira] Updated: (HBASE-3468) Enhance checkAndPut and checkAndDelete with comparators

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

Andrew Purtell updated HBASE-3468:
----------------------------------

    Attachment: HBASE-3468.patch

Reviewboard mail didn't post here. See https://review.cloudera.org/r/1483/ or attached.

> Enhance checkAndPut and checkAndDelete with comparators
> -------------------------------------------------------
>
>                 Key: HBASE-3468
>                 URL: https://issues.apache.org/jira/browse/HBASE-3468
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3468.patch
>
>
> Enhance checkAndPut and checkAndDelete with comparators from o.a.h.h.filter.
> Rather than support only an equality test against a binary string, test for any comparison operator result: LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL, GREATER_OR_EQUAL, GREATER, and NO_OP; and compare using any of the comparators that extend WritableByteArrayComparable: Binary, BinaryPrefix, RegexString, Substring.

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