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.selectionkeyi...@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 <[email protected]>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
> <[email protected]> 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
>