Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6242D253 for ; Mon, 30 Jul 2012 03:34:27 +0000 (UTC) Received: (qmail 95687 invoked by uid 500); 30 Jul 2012 03:34:25 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 95391 invoked by uid 500); 30 Jul 2012 03:34:25 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 95363 invoked by uid 99); 30 Jul 2012 03:34:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 03:34:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of khangich@gmail.com designates 209.85.215.41 as permitted sender) Received: from [209.85.215.41] (HELO mail-lpp01m010-f41.google.com) (209.85.215.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 03:34:19 +0000 Received: by lahi5 with SMTP id i5so3791422lah.14 for ; Sun, 29 Jul 2012 20:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=f8nUikCpAZYkY7JAAuaDNGgaCW6aZuR5QGK9ib8CLnM=; b=SmuNOtyI1LcVMCS5gWVGvpgfN0jUEB7zX53xBdoD4w/wn8AO1NlcKT0e9JV8UTk099 jBGyhkyENUZaUG32e/wvHyAz7n37ObZQm/bFMLfHAOEKDz676WdVIi5mrUwmubNSHJX9 w8CkWhOswiBWM0wo/Uf4iFwn83SvcuWgfkVX2MswzJbaaTiIS31cfZLylfsqP3cUM6OM Ae1crNqt0BXLr7lLu8WVVaVFDksLkaN0Q9StXoDGAzKQP0ATrI5WnOIs6UVDJLvYXNPp iKUa5AhRJDaMOHAUvDdwLA0TnWRfGCub+pVkFCDhEvI5Tz9BSubhxP704FhoFKumROwH 3w6w== Received: by 10.152.135.200 with SMTP id pu8mr9989230lab.8.1343619237986; Sun, 29 Jul 2012 20:33:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.11.174 with HTTP; Sun, 29 Jul 2012 20:33:37 -0700 (PDT) In-Reply-To: References: From: Khang Pham Date: Mon, 30 Jul 2012 11:33:37 +0800 Message-ID: Subject: Re: Recommend protocol connecting to HBASE To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=f46d0437454764bfa704c603bb37 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0437454764bfa704c603bb37 Content-Type: text/plain; charset=ISO-8859-1 Hi, I used Thrift 0.8 and Hbase 0.20.6. My app is in R languagge and everything works just fine. -- Khang On Mon, Jul 30, 2012 at 3:12 AM, Harsh J wrote: > Trung, > > Thrift API to HBase is well supported, and you may use that. > > Thrift2 is a new implementation of the Thrift API for HBase, > introduced in 0.94, in order to better-support the newer APIs of > HTable/etc. without breaking compatibility of the earlier Thrift > server for existing users. > > Thrift2 was done via https://issues.apache.org/jira/browse/HBASE-1744 > > So if you're going to be using a release of 0.94 or higher, consider > using Thrift2 server rather than the deprecated Thrift server. > > On Sun, Jul 29, 2012 at 11:54 PM, Trung Pham wrote: > > Also. What's the difference between thrift and thrift2 server? I thought > > the thrift protocol spec is stil at version 0.8. > > On Jul 29, 2012 10:33 AM, "syed kather" wrote: > > > >> Hi trung , > >> If you are using different language then go for ThriftAPI.. if you had > seen > >> prevoius mail . They had suggested ThriftAPI . I had worked with Thrift > >> its nice . I tried to push my data from .net . It helps me . > >> > >> > >> Syed Abdul kather > >> send from Samsung S3 > >> On Jul 29, 2012 10:06 PM, "Trung Pham" wrote: > >> > >> > My application code is not written in Java... > >> > On Jul 29, 2012 4:56 AM, "John Hancock" > wrote: > >> > > >> > > Trung Pam, > >> > > > >> > > I hope I am not going to start a flame war here but my take-away > from > >> > what > >> > > I have read so far about HBASE is that the best protocol to use for > >> > > connecting to HBASE over the network is the Java client libraries by > >> > > themselves. I have been working on a Servlet that uses an HTable > >> object > >> > > etc. to reach the HBASE server. This is an easy way to go since the > >> > entire > >> > > api is available. If your models and controllers are not written in > >> Java, > >> > > then my point is moot. > >> > > > >> > > -John > >> > > > >> > > On Sun, Jul 29, 2012 at 3:39 AM, Trung Pham > wrote: > >> > > > >> > > > Which protocol is better supported? > >> > > > > >> > > > Protocol Buffer, Thrift, Avro? > >> > > > > >> > > > I'm particularly interested in knowing which protocol(s) support > the > >> > > > checkAndPut api. > >> > > > > >> > > > Thanks. > >> > > > > >> > > > >> > > >> > > > > -- > Harsh J > --f46d0437454764bfa704c603bb37--