{"action":"created","issue":{"url":"https://api.github.com/repos/mesos/storm/issues/21","labels_url":"https://api.github.com/repos/mesos/storm/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/mesos/storm/issues/21/comments","events_url":"https://api.github.com/repos/mesos/storm/issues/21/events","html_url":"https://github.com/mesos/storm/issues/21","id":49149284,"number":21,"title":"Connection Refused: storm-mesos","user":{"login":"ramukima","id":5134913,"avatar_url":"https://avatars.githubusercontent.com/u/5134913?v=3","gravatar_id":"","url":"https://api.github.com/users/ramukima","html_url":"https://github.com/ramukima","followers_url":"https://api.github.com/users/ramukima/followers","following_url":"https://api.github.com/users/ramukima/following{/other_user}","gists_url":"https://api.github.com/users/ramukima/gists{/gist_id}","starred_url":"https://api.github.com/users/ramukima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramukima/subscriptions","organizations_url":"https://api.github.com/users/ramukima/orgs","repos_url":"https://api.github.com/users/ramukima/repos","events_url":"https://api.github.com/users/ramukima/events{/privacy}","received_events_url":"https://api.github.com/users/ramukima/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-17T21:43:17Z","updated_at":"2015-11-18T01:45:32Z","closed_at":"2015-11-18T01:45:32Z","body":"Trying to follow this - https://mesosphere.com/docs/tutorials/run-storm-on-mesos/#step-1\r\n\r\n./bin/storm-mesos nimbus\r\n\r\n```\r\n2014-11-17 16:33:52 o.a.z.ZooKeeper [INFO] Initiating client connection, connectString=localhost:2181 sessionTimeout=20000 watcher=com.netflix.curator.ConnectionState@5b4aa17\r\n2014-11-17 16:33:52 o.a.z.ClientCnxn [INFO] Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181\r\n2014-11-17 16:33:52 o.a.z.ClientCnxn [WARN] Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect\r\njava.net.ConnectException: Connection refused\r\n\tat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.7.0_67]\r\n\tat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) ~[na:1.7.0_67]\r\n\tat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119) ~[zookeeper-3.3.3.jar:3.3.3-1073969]\r\n2014-11-17 16:33:53 o.a.z.ClientCnxn [INFO] Opening socket connection to server localhost/127.0.0.1:2181\r\n2014-11-17 16:33:53 o.a.z.ClientCnxn [WARN] Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect\r\n```\r\n\r\n```\r\nbash-3.2$ cat conf/storm.yaml \r\n# Please change these for your cluster \r\n# to reflect your cluster settings\r\n# -----------------------------------------------------------\r\nmesos.master.url: \"localhost:5050\"\r\nstorm.zookeeper.servers:\r\n    - \"localhost\"\r\nnimbus.host: \"localhost\"\r\n# -----------------------------------------------------------\r\n\r\n# You should not need to change anything below this line\r\n#--------------------------------------------------------\r\n\r\n# Use the public Mesosphere Storm build\r\n# Please note that it won't work with other distributions\r\nmesos.executor.uri: \"http://downloads.mesosphere.io/storm/storm-mesos-0.9.tgz\"\r\n\r\n# Use Netty to avoid ZMQ dependencies\r\nstorm.messaging.transport: \"backtype.storm.messaging.netty.Context\"\r\n\r\nstorm.local.dir: \"storm-local\"\r\n\r\nmesos.framework.role: \"*\"\r\nmesos.framework.checkpoint: false\r\n\r\n#mesos.allowed.hosts:\r\n#  - host1\r\n#mesos.disallowed.hosts:\r\n#  - host1\r\nbash-3.2$ \r\n```\r\n\r\nNote that mesos primary is running at port 5050 on the localhost.\r\n\r\nTried couple of things to get this to work, but no success...\r\n\r\nexport JAVA_OPTS=\"-Djava.net.preferIPv4Stack=true\"\r\n"},"comment":{"url":"https://api.github.com/repos/mesos/storm/issues/comments/157570550","html_url":"https://github.com/mesos/storm/issues/21#issuecomment-157570550","issue_url":"https://api.github.com/repos/mesos/storm/issues/21","id":157570550,"user":{"login":"erikdw","id":1111441,"avatar_url":"https://avatars.githubusercontent.com/u/1111441?v=3","gravatar_id":"","url":"https://api.github.com/users/erikdw","html_url":"https://github.com/erikdw","followers_url":"https://api.github.com/users/erikdw/followers","following_url":"https://api.github.com/users/erikdw/following{/other_user}","gists_url":"https://api.github.com/users/erikdw/gists{/gist_id}","starred_url":"https://api.github.com/users/erikdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikdw/subscriptions","organizations_url":"https://api.github.com/users/erikdw/orgs","repos_url":"https://api.github.com/users/erikdw/repos","events_url":"https://api.github.com/users/erikdw/events{/privacy}","received_events_url":"https://api.github.com/users/erikdw/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T01:45:32Z","updated_at":"2015-11-18T01:45:32Z","body":"Yep, this problem is that there is no ZooKeeper available."}}