accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris McCubbin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-482) Add a thrift proxy server
Date Wed, 14 Nov 2012 18:58:11 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497342#comment-13497342
] 

Chris McCubbin commented on ACCUMULO-482:
-----------------------------------------

I uploaded another patch to the review board. https://reviews.apache.org/r/8039/

This patch includes:
* Bugfixes and some class name normalization
* Key timestamp is now an optional field
* Ability to create Scanners in addition to BatchScanners. Reading from either scanner use
the same method.
* Updated the python and ruby examples

As far as the way writing is done. I think writing sets of KeyValues (and deleting sets of
keys) is currently a clean interface. The thrift explicitly states in a comment now that any
keys with identical rows will be grouped into one atomic write, for each call to update. Check
out this python source:

{code}
keyvalue1 = PKeyValue(PKey("a","a","a",""),"a")
keyvalue2 = PKeyValue(PKey("a","b","b",""),"b")
client.updateAndFlush(userpass,table,[keyvalue1,keyvalue2],[])
{code}

If you guys really prefer having separate classes for Mutations and ColumnUpdates, I could
change it.

                
> Add a thrift proxy server
> -------------------------
>
>                 Key: ACCUMULO-482
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-482
>             Project: Accumulo
>          Issue Type: New Feature
>            Reporter: Sapan Shah
>            Assignee: Chris McCubbin
>         Attachments: accumulo482patch-A.diff, accumulo482patch.diff
>
>
> Add a thrift proxy server to make integration with other languages besides Java a bit
easier.  This should work like http://wiki.apache.org/hadoop/Hbase/ThriftApi.

--
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

Mime
View raw message