accumulo-notifications mailing list archives

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

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

Keith Turner commented on ACCUMULO-482:
---------------------------------------

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

There interface is clean.  I do not care too much.  A few thoughts.

 * The thrift interface is significantly different from Java interface because of lack of
mutation.  I think users could quickly adapt though.
 * When sending a lot of data for one row, this interface results in  a lot more overhead
because row is repeated.
 * Have to expend CPU on proxy to group, but I doubt this is an issue relative to the overhead
of IPC.

Still think the flatter data structs are something to consider, i.e.

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

As I said this makes it easier to write the code for writing data, but harder for rewriting
data from a scan.

                
> 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