You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by James Ram <hb...@gmail.com> on 2011/07/05 10:27:45 UTC
Seperating Application and Database Servers
Hi,
We are running hadoop and hbase in a 9 machine cluster. We tried to put our
application server on a machine outside the HBase cluster, but we are
getting the following error. Is there any way that we can do this?
11/07/05 11:26:41 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpe
cted error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078)
11/07/05 11:26:43 INFO zookeeper.ClientCnxn: Opening socket connection to server
localhost/127.0.0.1:2181
11/07/05 11:26:44 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpe
cted error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078)
11/07/05 11:26:45 INFO zookeeper.ClientCnxn: Opening socket connection to server
localhost/127.0.0.1:2181
--
With Regards,
Jr.
Re: Seperating Application and Database Servers
Posted by James Ram <hb...@gmail.com>.
Hi,
Thanks for your reply. We solved it. We had not started zookeeper earlier in
the application server machine. When we started it, it is working fine.
Thanks a lot again.
With Regards,
Jr.
On Tue, Jul 5, 2011 at 6:53 PM, Ted Yu <yu...@gmail.com> wrote:
> Check your DNS.
> localhost in the log below can also mean that your hbase.zookeeper.quorum
> is
> carrying default value. Modify it to point to the real quorum.
>
> On Tue, Jul 5, 2011 at 1:27 AM, James Ram <hb...@gmail.com> wrote:
>
> > Hi,
> >
> > We are running hadoop and hbase in a 9 machine cluster. We tried to put
> our
> > application server on a machine outside the HBase cluster, but we are
> > getting the following error. Is there any way that we can do this?
> >
> > 11/07/05 11:26:41 WARN zookeeper.ClientCnxn: Session 0x0 for server null,
> > unexpe
> > cted error, closing socket connection and attempting reconnect
> > java.net.ConnectException: Connection refused: no further information
> > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> > at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
> > at
> > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078)
> > 11/07/05 11:26:43 INFO zookeeper.ClientCnxn: Opening socket connection to
> > server
> > localhost/127.0.0.1:2181
> > 11/07/05 11:26:44 WARN zookeeper.ClientCnxn: Session 0x0 for server null,
> > unexpe
> > cted error, closing socket connection and attempting reconnect
> > java.net.ConnectException: Connection refused: no further information
> > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> > at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
> > at
> > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078)
> > 11/07/05 11:26:45 INFO zookeeper.ClientCnxn: Opening socket connection to
> > server
> > localhost/127.0.0.1:2181
> >
> >
> > --
> > With Regards,
> > Jr.
> >
>
--
With Regards,
Jr.
Re: Seperating Application and Database Servers
Posted by Ted Yu <yu...@gmail.com>.
Check your DNS.
localhost in the log below can also mean that your hbase.zookeeper.quorum is
carrying default value. Modify it to point to the real quorum.
On Tue, Jul 5, 2011 at 1:27 AM, James Ram <hb...@gmail.com> wrote:
> Hi,
>
> We are running hadoop and hbase in a 9 machine cluster. We tried to put our
> application server on a machine outside the HBase cluster, but we are
> getting the following error. Is there any way that we can do this?
>
> 11/07/05 11:26:41 WARN zookeeper.ClientCnxn: Session 0x0 for server null,
> unexpe
> cted error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused: no further information
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
> at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078)
> 11/07/05 11:26:43 INFO zookeeper.ClientCnxn: Opening socket connection to
> server
> localhost/127.0.0.1:2181
> 11/07/05 11:26:44 WARN zookeeper.ClientCnxn: Session 0x0 for server null,
> unexpe
> cted error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused: no further information
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
> at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078)
> 11/07/05 11:26:45 INFO zookeeper.ClientCnxn: Opening socket connection to
> server
> localhost/127.0.0.1:2181
>
>
> --
> With Regards,
> Jr.
>