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
Are the error lines the same as above? Can you post error here?

10/12/23 14:26:06 INFO ipc.HbaseRPC: Server at /127.0.0.1:45369 could not be

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

> I had already config this parameter. But still error
>
> On Thu, Dec 23, 2010 at 2:48 PM, Andrey Stepachev <[EMAIL PROTECTED]>
> wrote:
>
> > Looks like in zookeeper stored wrong region server address. Try to
> specify
> > real address in hbase config
> > (hbase-site.xml in conf dir of hbase installation).
> >
> > something like this.
> >
> >   <property>
> >     <name>hbase.zookeeper.quorum</name>
> >     <value>you_host_or_ip</value>
> >     <description>Comma separated list of servers in the ZooKeeper Quorum.
> > </description>
> >  </property>
> >
> >
> > 2010/12/23 King JKing <[EMAIL PROTECTED]>
> >
> > > HBase and client are on the different machine
> > >
> > > On Thu, Dec 23, 2010 at 2:32 PM, Andrey Stepachev <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > 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.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>