Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@locus.apache.org Received: (qmail 85335 invoked from network); 2 Mar 2008 21:22:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2008 21:22:10 -0000 Received: (qmail 911 invoked by uid 500); 2 Mar 2008 21:22:06 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 886 invoked by uid 500); 2 Mar 2008 21:22:05 -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 Received: (qmail 876 invoked by uid 99); 2 Mar 2008 21:22:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 13:22:05 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of naamakraus@gmail.com designates 64.233.184.231 as permitted sender) Received: from [64.233.184.231] (HELO wr-out-0506.google.com) (64.233.184.231) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 21:21:29 +0000 Received: by wr-out-0506.google.com with SMTP id c47so8281286wra.20 for ; Sun, 02 Mar 2008 13:21:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=/IBG5RXAt2rokadBtbDKCY/HRYbIBPCE4lZ2DNt/rG4=; b=TrrrUSpsnNtd3FI3AGXubtPXT+WBraTt3qF9m24NAjGyH4srPWNzEPcQX33GfOjuLxa3bjQtgrKNE5gSjk+R+8LODMjFM5f5TVdtaoFAL1vrbb8l3ujjCuygoSbiQBlKg6HBWMSgus5goS6LoIowfelapkXJujq51+SLfikX5PA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AoxGAo25fMg+2QZuYUd58froGy/WXfWvyocQKGiQPAY2z6fM+7YYAFirGXEdtFNPzbB0jOwJykyY5z8SmmDq0bBFIimaO6tLQsG1HFRiC7H3MLbSpEsd8XFtNhLpnni6rw+Cq2RGdUAwKlnvsc24sv2DpkebwuXVrRpsMirut6Q= Received: by 10.65.250.11 with SMTP id c11mr23391276qbs.17.1204492897996; Sun, 02 Mar 2008 13:21:37 -0800 (PST) Received: by 10.65.116.13 with HTTP; Sun, 2 Mar 2008 13:21:37 -0800 (PST) Message-ID: <643aa4870803021321i13132db3lc30540117bd90fc2@mail.gmail.com> Date: Sun, 2 Mar 2008 23:21:37 +0200 From: "Naama Kraus" To: hbase-user@hadoop.apache.org Subject: Re: Getting to work with HBase In-Reply-To: <1B230F5D-38DD-443D-9385-0950B226400B@rapleaf.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19149_18032718.1204492897978" References: <643aa4870802260100n586fc202v4873273042a5f96f@mail.gmail.com> <47C4529B.5030204@duboce.net> <643aa4870802262322i9773875m2a22ad189491c217@mail.gmail.com> <84E2AE771361E9419DD0EFBD31F09C4D4F4703CC1E@EXVMBX015-1.exch015.msoutlookonline.net> <47C59991.5020701@duboce.net> <643aa4870803020025x7710cccv492f2b9f2e0626cf@mail.gmail.com> <1B230F5D-38DD-443D-9385-0950B226400B@rapleaf.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19149_18032718.1204492897978 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for the input. What about the REST API ? When should I consider to use it ? Naama On Sun, Mar 2, 2008 at 6:00 PM, Bryan Duxbury wrote: > If you can use the Java API, you should use that. It has the most > functionality and the least overhead. > > HQL is only meant to be used for administrative purposes, like > managing tables. Aside from the fact that there's no good way to hook > an application up to HQL, there isn't as much flexibility in the HQL > API. > > -Bryan > > On Mar 2, 2008, at 12:25 AM, Naama Kraus wrote: > > > Hi Again, > > > > What is the best way to learn HBase ? Is there some tutorial ? > > Sample code ? > > I've seen that there are several methods to access HBase: hql, REST > > or Java > > API. What's the recommended method to work with HBase ? Assuming > > that I need > > a programmatic way to work with HBase (create tables, add rows ..). > > > > Thanks for the guidance, > > Naama > > > > On Wed, Feb 27, 2008 at 7:10 PM, stack wrote: > > > >> Jim Kellerman wrote: > >>> ... > >>> > >>> So if you want to use HBase, you either need to either > >>> change your classpath or you can move the jar to the hadoop > >>> directory and config files to hadoop/conf, scripts to > >>> hadoop/bin, etc. People have done this both ways, and I don't > >>> know as there is a recommended way, but from a purists' point > >>> of view, I guess you would keep them separate. > >>> > >> > >> FYI, you do not need to do any moving of jars or config files to > >> start > >> hbase in hadoop-0.16.0. Just run > >> $HADOOP_HOME/contrib/hbase/bin/start-hbase.sh to start it. > >> > >> Regards how stable hadoop 0.16.0 is, thats a difficult question to > >> answer. > >> > >> St.Ack > >> > > > > > > > > -- > > oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 > > oo 00 oo > > 00 oo 00 oo > > "If you want your children to be intelligent, read them fairy > > tales. If you > > want them to be more intelligent, read them more fairy tales." (Albert > > Einstein) > > -- oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo "If you want your children to be intelligent, read them fairy tales. If you want them to be more intelligent, read them more fairy tales." (Albert Einstein) ------=_Part_19149_18032718.1204492897978--