It appears to be trying to connect to zk on 127.0.01:2181 which is
incorrect if you have zookeeper running on it's own server (as you
mentioned above).  I would guess that you have not configured a zookeeper
server or it is not configured correctly.

On Mon, Sep 8, 2014 at 8:16 AM, ​Chandrahas Gurram <[email protected]>
wrote:

> yes, based on that, i have configured servers. But could you give me any
> solution for the error I have mentioned.
>
>
> ThankYou,
> G V Chandrahas Raj
>
> On Mon, Sep 8, 2014 at 4:09 PM, Vikas Agarwal <[email protected]>
> wrote:
>
>> Have you followed the doc
>> https://storm.incubator.apache.org/documentation/Setting-up-a-Storm-cluster.html
>>
>>
>> On Mon, Sep 8, 2014 at 1:21 PM, ​Chandrahas Gurram <[email protected]
>> > wrote:
>>
>>> Hello,
>>>
>>> I have manually installed zookeeper, superisors and nimbus on different
>>> servers. But when I run supervisors they are unable to connect to
>>> zookeeper.
>>>
>>> The following error is thrown in supervisor.log continuosuly..
>>>
>>> 2014-09-04 15:56:21 o.a.z.ClientCnxn [INFO] Opening socket connection to
>>> server ip-172-30-2-133/127.0.0.1:2181. Will not attempt to authenticate
>>> using SASL (unknown error)
>>> 2014-09-04 15:56:21 o.a.z.ClientCnxn [WARN] Session 0x0 for server null,
>>> unexpected error, closing socket connection and attempting reconnect
>>> java.net.ConnectException: Connection refused
>>>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>>> ~[na:1.7.0_65]
>>>         at
>>> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
>>> ~[na:1.7.0_65]
>>>         at
>>> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
>>> ~[zookeeper-3.4.5.jar:3.4.5-1392090]
>>>         at
>>> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
>>> ~[zookeeper-3.4.5.jar:3.4.5-1392090]
>>>
>>> I saw that the supervisor is considering its host as the zookeeper
>>> server and so unable to connect to it. how to tell the supervisor where
>>> zookeeper is?
>>>
>>> please help
>>>
>>> ThankYou,
>>> G V Chandrahas Raj
>>>
>>
>>
>>
>> --
>> Regards,
>> Vikas Agarwal
>> 91 – 9928301411
>>
>> InfoObjects, Inc.
>> Execution Matters
>> http://www.infoobjects.com
>> 2041 Mission College Boulevard, #280
>> Santa Clara, CA 95054
>> +1 (408) 988-2000 Work
>> +1 (408) 716-2726 Fax
>>
>>
>

Reply via email to