Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 513AADA54 for ; Wed, 14 Nov 2012 19:40:12 +0000 (UTC) Received: (qmail 44447 invoked by uid 500); 14 Nov 2012 19:40:12 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 44400 invoked by uid 500); 14 Nov 2012 19:40:12 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 44391 invoked by uid 99); 14 Nov 2012 19:40:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 19:40:12 +0000 Date: Wed, 14 Nov 2012 19:40:11 +0000 (UTC) From: "Keith Turner (JIRA)" To: notifications@accumulo.apache.org Message-ID: <1339121256.115345.1352922012242.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (ACCUMULO-482) Add a thrift proxy server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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