首页 > 代码库 > 启动storm之后浏览器访问报错,org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused)
启动storm之后浏览器访问报错,org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused)
原因是zookeeper没有启动
Internal Server Error org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused) at org.apache.thrift7.transport.TSocket.open(TSocket.java:183) at org.apache.thrift7.transport.TFramedTransport.open(TFramedTransport.java:81) at backtype.storm.thrift$nimbus_client_and_conn.invoke(thrift.clj:75) at backtype.storm.ui.core$all_topologies_summary.invoke(core.clj:515) at backtype.storm.ui.core$fn__6094.invoke(core.clj:851) at compojure.core$make_route$fn__4275.invoke(core.clj:93) at compojure.core$if_route$fn__4263.invoke(core.clj:39) at compojure.core$if_method$fn__4256.invoke(core.clj:24) at compojure.core$routing$fn__4281.invoke(core.clj:106) at clojure.core$some.invoke(core.clj:2443) at compojure.core$routing.doInvoke(core.clj:106) at clojure.lang.RestFn.applyTo(RestFn.java:139) at clojure.core$apply.invoke(core.clj:619) at compojure.core$routes$fn__4285.invoke(core.clj:111) at ring.middleware.reload$wrap_reload$fn__4310.invoke(reload.clj:14) at backtype.storm.ui.core$catch_errors$fn__6135.invoke(core.clj:909) at ring.middleware.keyword_params$wrap_keyword_params$fn__4952.invoke(keyword_params.clj:27) at ring.middleware.nested_params$wrap_nested_params$fn__4991.invoke(nested_params.clj:65) at ring.middleware.params$wrap_params$fn__4924.invoke(params.clj:55) at ring.middleware.multipart_params$wrap_multipart_params$fn__5019.invoke(multipart_params.clj:103) at ring.middleware.flash$wrap_flash$fn__5200.invoke(flash.clj:14) at ring.middleware.session$wrap_session$fn__5189.invoke(session.clj:43) at ring.middleware.cookies$wrap_cookies$fn__5120.invoke(cookies.clj:160) at ring.adapter.jetty$proxy_handler$fn__5400.invoke(jetty.clj:16) at ring.adapter.jetty.proxy$org.mortbay.jetty.handler.AbstractHandler$0.handle(Unknown Source) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.apache.thrift7.transport.TSocket.open(TSocket.java:178) ... 33 more
启动storm之后浏览器访问报错,org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。