hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Getting data from Hbase from client/remote computer
Date Tue, 31 Aug 2010 15:13:22 GMT
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 <shujamughal@gmail.com> wrote:
> 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:60000>";
>    int port=80;
>    String protocol = "http";
>    HBaseConfiguration config = new HBaseConfiguration();
>    config.addResource(new  URL(protocol,host,port,"/hbase-site.xml"));
>
> but the same error. Can anybody help me out??
> Thanks
>
>
> On Tue, Aug 31, 2010 at 12:38 PM, Shuja Rehman <shujamughal@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", "myserver.mycompany.com:60000");
>>
>> but I am getting following exception
>>
>> WARNING: instantiating HBaseConfiguration() is deprecated. Please use
>> HBaseConfiguration#create() to construct a plain Configuration
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/zookeeper/KeeperException
>>         at
>> org.apache.hadoop.hbase.client.HConnectionManager.getClientZooKeeperWatcher(HConnectionManager.java:176)
>> ...
>>
>> Is anything missing??
>>
>> Thanks
>>
>>
>> On Fri, Aug 27, 2010 at 1:33 AM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:
>>
>>> 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 <shujamughal@gmail.com>
>>> wrote:
>>> > 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
>>> > http://pk.linkedin.com/in/shujamughal
>>> > Cell: +92 3214207445
>>> >
>>>
>>
>>
>>
>> --
>> Regards
>> Shuja-ur-Rehman Baig
>> http://pk.linkedin.com/in/shujamughal
>> Cell: +92 3214207445
>>
>
>
>
> --
> Regards
> Shuja-ur-Rehman Baig
> http://pk.linkedin.com/in/shujamughal
> Cell: +92 3214207445
>

Mime
View raw message