hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ananth T. Sarathy" <ananth.t.sara...@gmail.com>
Subject Re: zookeeper configuration
Date Mon, 19 Oct 2009 16:52:45 GMT
that fixed it!
Ananth T Sarathy


On Mon, Oct 19, 2009 at 12:12 PM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:

> Ananth,
>
> There are many IP-related problems when using HBase and EC2, this is
> one of them. In your case, you probably have some sort of EC2 security
> blocking that port because it's a public address. What you really want
> to do is to use the internal EC2 host names.
>
> J-D
>
> On Mon, Oct 19, 2009 at 8:55 AM, Ananth T. Sarathy
> <ananth.t.sarathy@gmail.com> wrote:
> > Hmm.. ok When I do that I get this now (on the master)
> >
> > 2009-10-19 11:52:27,020 INFO org.apache.zookeeper.ZooKeeper: Initiating
> > client connection,
> > host=ec2-174-129-15-236.compute-1.amazonaws.com:2181sessionTimeout=60000
> > watcher=Thread[Thread-1,5,main]
> > 2009-10-19 11:52:27,021 INFO org.apache.zookeeper.ClientCnxn:
> > zookeeper.disableAutoWatchReset is false
> > 2009-10-19 11:52:27,030 INFO org.apache.zookeeper.ClientCnxn: Attempting
> > connection to server
> > ec2-174-129-15-236.compute-1.amazonaws.com/10.244.9.171:2181
> > 2009-10-19 11:52:27,032 WARN org.apache.zookeeper.ClientCnxn: Exception
> > closing session 0x0 to sun.nio.ch.SelectionKeyImpl@656dc861
> > java.net.ConnectException: Connection refused
> >        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> >        at
> > sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
> >        at
> > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:885)
> > 2009-10-19 11:52:27,032 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> > exception during shutdown input
> > java.nio.channels.ClosedChannelException
> >        at
> > sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:638)
> >        at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360)
> >        at
> > org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:951)
> >        at
> > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:922)
> > 2009-10-19 11:52:27,033 WARN org.apache.zookeeper.ClientCnxn: Ignoring
> > exception during shutdown output
> > java.nio.channels.ClosedChannelException
> >        at
> > sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:649)
> >        at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
> >        at
> > org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:956)
> >        at
> > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:922)
> >
> >
> >
> > I opened ports 2181... any other ports I need to worry about?
> >
> > why does it say
> > server ec2-174-129-15-236.compute-1.amazonaws.com/10.244.9.171:2181
> >
> > in the quorom list i put only ec2-174-129-15-236.compute-1.amazonaws.com
> >
> > Ananth T Sarathy
> >
> >
> > On Mon, Oct 19, 2009 at 11:37 AM, Tatsuya Kawano <code@snowcocoa.info
> >wrote:
> >
> >> Hi,
> >>
> >> In your case (run zookeeper only on one server where the hbase master
> >> is running), just the master server needs to be in the list.
> >>
> >> Thanks,
> >>
> >>
> >> On Tue, Oct 20, 2009 at 12:13 AM, Ananth T. Sarathy
> >> <ananth.t.sarathy@gmail.com> wrote:
> >> > so does every machine that is a region server need to be in that list
> or
> >> > just the master server if I want I am going only run zookeeper on one
> >> > server?
> >>
> >> --
> >> Tatsuya Kawano (Mr.)
> >> Tokyo, Japan
> >>
> >
>

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