Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@locus.apache.org Received: (qmail 9732 invoked from network); 14 Jan 2009 21:46:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2009 21:46:59 -0000 Received: (qmail 25513 invoked by uid 500); 14 Jan 2009 21:46:59 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 25138 invoked by uid 500); 14 Jan 2009 21:46:58 -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 25127 invoked by uid 99); 14 Jan 2009 21:46:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 13:46:58 -0800 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.203.238.117] (HELO dns.duboce.net) (63.203.238.117) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 21:46:50 +0000 Received: by dns.duboce.net (Postfix, from userid 1008) id 5BDC9C564; Wed, 14 Jan 2009 12:19:01 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on dns.duboce.net X-Spam-Level: Received: from durruti.desk.hq.powerset.com (durruti.desk.hq.powerset.com [208.84.6.217]) by dns.duboce.net (Postfix) with ESMTP id F1AAFC51B for ; Wed, 14 Jan 2009 12:18:58 -0800 (PST) Message-ID: <496E5D33.6010403@duboce.net> Date: Wed, 14 Jan 2009 13:46:27 -0800 From: stack User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: hbase-user@hadoop.apache.org Subject: Re: Access Hbase through web application References: <21465344.post@talk.nabble.com> <496E579D.1010708@duboce.net> <21465621.post@talk.nabble.com> In-Reply-To: <21465621.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.4 GO-HADOOP wrote: > Thanks, My web app is in Java it self but could not figure out how to access > the hbase environment hosted in my desktop through the web application in my > laptop. > > How do i define location of the master can you please highlight more. > Sure: See hbase.org. The documentation tab is a good place to start. Has sample client code: http://hadoop.apache.org/hbase/docs/r0.18.1/. St.Ack > > > > stack-3 wrote: > >> GO-HADOOP wrote: >> >>> How do i access HBase Master or slave running on a different Servers from >>> a >>> web application hosted in different box? >>> >>> I saw some implementation like HBase::Client.new("http://xyz:61001/api") >>> allow accessing the remove dfs cluster but could not get through it. >>> >>> >> Where did you see that? It doesn't look right. >> >> Your webapp is ruby? >> >> HBase is java. If ruby, then you'll need to go via a gateway. We have >> REST and thrift gateways. Checkout the wiki for how to use. >> >> Regards accessing hbase cluster from a remote client, just tell the >> hbase client where the master is located. It takes care of all the rest. >> >> St.Ack >> >> >> > >