hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From King JKing <beuk...@gmail.com>
Subject Re: HBase Client connect to remote HBase
Date Thu, 23 Dec 2010 08:01:21 GMT
I had already config this parameter. But still error

On Thu, Dec 23, 2010 at 2:48 PM, Andrey Stepachev <octo47@gmail.com> 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 <beuking@gmail.com>
>
> > HBase and client are on the different machine
> >
> > On Thu, Dec 23, 2010 at 2:32 PM, Andrey Stepachev <octo47@gmail.com>
> > wrote:
> >
> > > Are HBase and client on the same machine?
> > >
> > > 2010/12/23 King JKing <beuking@gmail.com>
> > >
> > > > But still error...
> > > > 10/12/23 14:26:06 INFO ipc.HbaseRPC: Server at /127.0.0.1:45369could
> > > not
> > > > be
> > > > reached after 1 tries, giving up.
> > > > 10/12/23 14:26:07 INFO ipc.HbaseRPC: Server at /127.0.0.1:45369could
> > > not
> > > > be
> > > > reached after 1 tries, giving up.
> > > >
> > > >
> > > >
> > > > On Thu, Dec 23, 2010 at 2:18 PM, Andrey Stepachev <octo47@gmail.com>
> > > > 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 <beuking@gmail.com>
> > > > >
> > > > > > 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.
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message