Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 64013 invoked from network); 6 Oct 2010 14:21:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 14:21:52 -0000 Received: (qmail 36053 invoked by uid 500); 6 Oct 2010 14:21:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 36009 invoked by uid 500); 6 Oct 2010 14:21:52 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 36001 invoked by uid 99); 6 Oct 2010 14:21:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 14:21:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 14:21:51 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o96ELULc007135 for ; Wed, 6 Oct 2010 14:21:31 GMT Message-ID: <25329872.7101286374890824.JavaMail.jira@thor> Date: Wed, 6 Oct 2010 10:21:30 -0400 (EDT) From: "Lars Francke (JIRA)" To: issues@hbase.apache.org Subject: [jira] Updated: (HBASE-1744) Thrift server to match the new java api. 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/HBASE-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Francke updated HBASE-1744: -------------------------------- Attachment: (was: Hbase.thrift) > Thrift server to match the new java api. > ---------------------------------------- > > Key: HBASE-1744 > URL: https://issues.apache.org/jira/browse/HBASE-1744 > Project: HBase > Issue Type: Improvement > Components: thrift > Reporter: Tim Sell > Assignee: Lars Francke > Priority: Critical > Fix For: 0.92.0 > > Attachments: thriftexperiment.patch > > > This mutateRows, etc.. is a little confusing compared to the new cleaner java client. > Thinking of ways to make a thrift client that is just as elegant. something like: > void put(1:Bytes table, 2:TPut put) throws (1:IOError io) > with: > struct TColumn { > 1:Bytes family, > 2:Bytes qualifier, > 3:i64 timestamp > } > struct TPut { > 1:Bytes row, > 2:map values > } > This creates more verbose rpc than if the columns in TPut were just map>, but that is harder to fit timestamps into and still be intuitive from say python. > Presumably the goal of a thrift gateway is to be easy first. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.