No. When I add your code to hbase-site.xml and restart HBase Server. When I
run HBase Client, client hang up.

Here is some information on HBase server

[r...@me-182 conf]# netstat -an|grep 60000
tcp        0      0 ::ffff:127.0.0.1:60000      :::*
LISTEN
tcp        0      0 ::ffff:127.0.0.1:18965      ::ffff:127.0.0.1:60000
ESTABLISHED
tcp        0      0 ::ffff:127.0.0.1:60000      ::ffff:127.0.0.1:18965
ESTABLISHED


On Thu, Dec 23, 2010 at 3:17 PM, Andrey Stepachev <oct...@gmail.com> wrote:

> 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 <beuk...@gmail.com>
>
> > I had already config this parameter. But still error
> >
> > On Thu, Dec 23, 2010 at 2:48 PM, Andrey Stepachev <oct...@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 <beuk...@gmail.com>
> > >
> > > > HBase and client are on the different machine
> > > >
> > > > On Thu, Dec 23, 2010 at 2:32 PM, Andrey Stepachev <oct...@gmail.com>
> > > > wrote:
> > > >
> > > > > Are HBase and client on the same machine?
> > > > >
> > > > > 2010/12/23 King JKing <beuk...@gmail.com>
> > > > >
> > > > > > 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 <
> > oct...@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 <beuk...@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.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to