From hbase-user-return-2441-apmail-hadoop-hbase-user-archive=hadoop.apache.org@hadoop.apache.org Tue Dec 09 18:31:28 2008 Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@locus.apache.org Received: (qmail 67005 invoked from network); 9 Dec 2008 18:31:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Dec 2008 18:31:28 -0000 Received: (qmail 50897 invoked by uid 500); 9 Dec 2008 18:31:40 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 50872 invoked by uid 500); 9 Dec 2008 18:31:40 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Delivered-To: moderator for hbase-user@hadoop.apache.org Received: (qmail 44767 invoked by uid 99); 9 Dec 2008 18:27:14 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 207.192.72.253 is neither permitted nor denied by domain of wes.chow@gmail.com) Message-ID: <493EB854.9030504@gmail.com> Date: Tue, 09 Dec 2008 13:26:28 -0500 From: Wes Chow User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: hbase-user@hadoop.apache.org Subject: Re: Thrift API vs Java API References: <053701c95a28$f6f4cd80$e4de6880$@com> In-Reply-To: <053701c95a28$f6f4cd80$e4de6880$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I stumbled on JCC, the Java->C++ (and Python) bridge that the PyLucene folk are using: http://svn.osafoundation.org/pylucene/trunk/jcc/jcc/README Any thoughts on perhaps using that for the Hadoop family of projects? Wes Jonathan Gray wrote: > I have not used the thrift interface, but know that many others are. I > doubt that they are seeing an order of magnitude decrease in performance. > What have others seen with thrift? > > There are talks of a new client-side API. To my knowledge no one is working > on this, so it is not currently scheduled for any upcoming release. There > are a number of people who would be interested in it, so please continue > discussion on the issue if you have an interest in it. > > Here is the open issue regarding this (Pure C/C++ client libraries): > https://issues.apache.org/jira/browse/HBASE-1015 > > JG > > >> -----Original Message----- >> From: Slava Gorelik [mailto:slava.gorelik@gmail.com] >> Sent: Tuesday, December 09, 2008 6:12 AM >> To: hbase-user@hadoop.apache.org >> Subject: Thrift API vs Java API >> >> Hi.Currently i'm trying to communicate with Hbase from .NET environment >> and >> the only option that i have is Thrift. >> I did small comparison (execution time) between Java and Thrift (adding >> 1000 >> rows with 1k data) and Java is 3.4 ms (average) vs. Thrift that is 44 >> ms >> average. >> It seems that Thrift option is not usable from performance aspect. >> >> Now he question : some one tried to implement Hbase client side in C++ >> / >> .NET ? Is it feasible ? >> >> Best Regards. >