Re: Getting data from Hbase from client/remote computer

2010-09-01 Thread Shuja Rehman
Stack, This problem is already resolved, now can u check the new problem of connecting to local ip as explained earlier Thanks On Wed, Sep 1, 2010 at 8:27 AM, Stack st...@duboce.net wrote: On Tue, Aug 31, 2010 at 5:30 PM, Shuja Rehman shujamug...@gmail.com wrote:

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Shuja Rehman
Hi I am trying to implement according to documentation and i also added this line to connect remote server HBaseConfiguration config = new HBaseConfiguration(); config.set(hbase.master, myserver.mycompany.com:6); but I am getting following exception WARNING: instantiating

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Shuja Rehman
Hi All I have also try by enabling the web server on the remote machine and use the following code. String host=myserver.mycompany.com http://myserver.mycompany.com:6; int port=80; String protocol = http; HBaseConfiguration config = new HBaseConfiguration();

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Stack
On Tue, Aug 31, 2010 at 12:38 AM, Shuja Rehman shujamug...@gmail.com wrote: Hi I am trying to implement according to documentation and i also added this line to connect remote server  HBaseConfiguration config = new HBaseConfiguration();  config.set(hbase.master,

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Stack
You don't have to instantiate the webserver. It comes up on by default. Browse to http://MASTER_HOST:60010/. I'd suggest you read the 'getting started' doc referred to earlier. St.Ack On Tue, Aug 31, 2010 at 4:32 AM, Shuja Rehman shujamug...@gmail.com wrote: Hi All I have also try by

RE: Getting data from Hbase from client/remote computer

2010-08-31 Thread Kelvin Rawls
@gmail.com [saint@gmail.com] On Behalf Of Stack [st...@duboce.net] Sent: Tuesday, August 31, 2010 11:13 AM To: user@hbase.apache.org Subject: Re: Getting data from Hbase from client/remote computer You don't have to instantiate the webserver. It comes up on by default. Browse to http://MASTER_HOST

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Shuja Rehman
Of Stack [ st...@duboce.net] Sent: Tuesday, August 31, 2010 11:13 AM To: user@hbase.apache.org Subject: Re: Getting data from Hbase from client/remote computer You don't have to instantiate the webserver. It comes up on by default. Browse to http://MASTER_HOST:60010/. I'd suggest you

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Stack
On Tue, Aug 31, 2010 at 12:54 PM, Shuja Rehman shujamug...@gmail.com wrote: Hi Stack, I am reading the documentation from the following link http://hbase.apache.org/docs/r0.20.6/api/index.html http://hbase.apache.org/docs/r0.20.6/api/index.htmland in Example API Usage they just declare the

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Shuja Rehman
Stack, I have checked the example on the given link http://hbase.apache.org/docs/r0.89.20100726/apidocs/org/apache/hadoop/hbase/client/package-summary.html#package_description

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Shuja Rehman
Hi Stack I have solved this problem Thanks On Wed, Sep 1, 2010 at 5:30 AM, Shuja Rehman shujamug...@gmail.com wrote: Stack, I have checked the example on the given link

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Imran M Yousuf
Hi Shuja-Ur-Rahman, It would be nice if you would mention how you solved it in the mailing list so that if someone else runs into the same problem they know how to solve it. /Imran On Wed, Sep 1, 2010 at 7:29 AM, Shuja Rehman shujamug...@gmail.com wrote: Hi Stack I have solved this problem

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Shuja Rehman
Hi Imran I have used these configuration settings and include the zoo keeper and log4j jars also in class path. HBaseConfiguration config = new HBaseConfiguration(); config.clear(); config.set(hbase.zookeeper.quorum, myserver.mycompany.com:2181);

Re: Getting data from Hbase from client/remote computer

2010-08-31 Thread Stack
On Tue, Aug 31, 2010 at 5:30 PM, Shuja Rehman shujamug...@gmail.com wrote: HBaseConfiguration#create() to construct a plain Configuration Exception in thread main java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException As it says, NoClassDefFoundError. Try adding zookeeper jar to

RE: Getting data from Hbase from client/remote computer

2010-08-31 Thread Kelvin Rawls
[saint@gmail.com] On Behalf Of Stack [ st...@duboce.net] Sent: Tuesday, August 31, 2010 11:13 AM To: user@hbase.apache.org Subject: Re: Getting data from Hbase from client/remote computer You don't have to instantiate the webserver. It comes up on by default. Browse to http

Getting data from Hbase from client/remote computer

2010-08-26 Thread Shuja Rehman
Hi All I am new to hbase client API and want to know how to get data from hbase from cleint/remote machine. The target is to develop a java program which should connect to hbase server and then get results from it. Anyone have any example??? Thanks -- Regards Shuja-ur-Rehman Baig

Re: Getting data from Hbase from client/remote computer

2010-08-26 Thread Jean-Daniel Cryans
Check the documentation: http://hbase.apache.org/docs/r0.20.6/api/org/apache/hadoop/hbase/client/package-summary.html#overview J-D On Thu, Aug 26, 2010 at 12:41 PM, Shuja Rehman shujamug...@gmail.com wrote: Hi All I am new to hbase client API and want to know how to get data from hbase from

RE: Getting data from Hbase from client/remote computer

2010-08-26 Thread xiujin yang
Another way, By Rest http://wiki.apache.org/hadoop/Hbase/Stargate Xiujin Yang Date: Thu, 26 Aug 2010 13:33:00 -0700 Subject: Re: Getting data from Hbase from client/remote computer From: jdcry...@apache.org To: user@hbase.apache.org Check the documentation: http://hbase.apache.org