accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MT (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-482) Add a thrift proxy server
Date Thu, 08 Nov 2012 00:46:13 GMT

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

MT commented on ACCUMULO-482:
-----------------------------

Hi all, I'm currently looking at accessing Accumulo from a Python Twisted application (http://twistedmatrix.com/trac/).
 To get myself started I've created a Twisted Client that essentially re-implements the Java
client, and talks directly to the TabletClientService using the Thrift API.  I'm compiling
the source from trunk and am relying on the thrift files under /core/src/main/thrift/*.thrift
and ./trace/src/main/thrift/cloudtrace.thrift.  I have a basic use case up and running where
I'm able to connect to the TableClientServer and pull data using startScan/closeScan.  I've
made it through a fair amount of the Accumulo source code to get to this point, and hit few
stumbling blocks along the way (had to figure out I need to use TCompactProtocol the hard
way, and I was initially running into PermissionDenied errors as I was passing the actual
table name instead of the table id in the TKeyExtent), but everything is looking good now.

I'm guessing that re-implementing the java client in python is less then ideal from a maintainability
stand point, so I'll take a look at Keith's code at some point in the near future and figure
out how make it play nicely with Twisted so I can switch over to using it.  So really this
is just a heads up to fellow Twisted users that's there's someone out there who is looking
to add Twisted support to Accumulo.

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