Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - HBase Client connect to remote HBase


Copy link to this message
-
Re: HBase Client connect to remote HBase
Andrey Stepachev 2010-12-23, 07:32
Are HBase and client on the same machine?

2010/12/23 King JKing <[EMAIL PROTECTED]>

> But still error...
> 10/12/23 14:26:06 INFO ipc.HbaseRPC: Server at /127.0.0.1:45369 could not
> be
> reached after 1 tries, giving up.
> 10/12/23 14:26:07 INFO ipc.HbaseRPC: Server at /127.0.0.1:45369 could not
> be
> reached after 1 tries, giving up.
>
>
>
> On Thu, Dec 23, 2010 at 2:18 PM, Andrey Stepachev <[EMAIL PROTECTED]>
> wrote:
>
> > place hbase-site.xml with two parameters in you classpath.
> >
> > hbase.zookeeper.quorum=your host
> > hbase.zookeeper.property.clientPort=2181 (this parameter is optional)
> >
> > another way,  create Configuration and set this parameters from any
> sources
> > you like
> > (i use for example jndi in some of my apps).
> >
> > c = HBaseConfiguration.create();
> > c.set(propname, propvalue);
> >
> >
> >
> > 2010/12/23 King JKing <[EMAIL PROTECTED]>
> >
> > > Dear all,
> > >
> > > I set up my HBase server in standalone mode.
> > >
> > > Can HBase Client (from another machine) connect to this HBase server?
> > > How can I do that?
> > >
> > > A lot of people have the same question. But I did not find correct
> > answer.
> > >
> > > Thank a lot for support.
> > >
> >
>