storm:防火墻引起啟動nimbus失敗
阿新 • • 發佈:2018-04-11
storm firewalld nimbus 部署好storm,啟動nimbus失敗,查看日誌,出現如下報錯信息:
[root@storm logs]# tail -1000 nimbus.log 2018-03-12 11:05:12.385 o.a.s.d.nimbus main [INFO] Starting Nimbus with conf {"topology.builtin.metrics.bucket.size.secs" 60, "nimbus.childopts" "-Xmx1024m", "ui.filter.params" nil, "storm.cluster.mode" "distributed", "storm.messaging.netty.client_worker_threads" 1, "logviewer.max.per.worker.logs.size.mb" 2048, "supervisor.run.worker.as.user" false, "topology.max.task.parallelism" nil, "topology.priority" 29, "zmq.threads" 1, "storm.group.mapping.service" "org.apache.storm.security.auth.ShellBasedGroupsMapping", "transactional.zookeeper.root" "/transactional", "topology.sleep.spout.wait.strategy.time.ms" 1, "scheduler.display.resource" false, "topology.max.replication.wait.time.sec" 60, "drpc.invocations.port" 3773, "supervisor.localizer.cache.target.size.mb" 10240, "topology.multilang.serializer" "org.apache.storm.multilang.JsonSerializer", "storm.messaging.netty.server_worker_threads" 1, "nimbus.blobstore.class" "org.apache.storm.blobstore.LocalFsBlobStore", "resource.aware.scheduler.eviction.strategy" "org.apache.storm.scheduler.resource.strategies.eviction.DefaultEvictionStrategy", "topology.max.error.report.per.interval" 5, "storm.thrift.transport" "org.apache.storm.security.auth.SimpleTransportPlugin", "zmq.hwm" 0, "storm.group.mapping.service.params" nil, "worker.profiler.enabled" false, "storm.principal.tolocal" "org.apache.storm.security.auth.DefaultPrincipalToLocal", "supervisor.worker.shutdown.sleep.secs" 3, "pacemaker.host" "localhost", "storm.zookeeper.retry.times" 5, "ui.actions.enabled" true, "zmq.linger.millis" 5000, "supervisor.enable" true, "topology.stats.sample.rate" 0.05, "storm.messaging.netty.min_wait_ms" 100, "worker.log.level.reset.poll.secs" 30, "storm.zookeeper.port" 2181, "supervisor.heartbeat.frequency.secs" 5, "topology.enable.message.timeouts" true, "supervisor.cpu.capacity" 400.0, "drpc.worker.threads" 64, "supervisor.blobstore.download.thread.count" 5, "task.backpressure.poll.secs" 30, "drpc.queue.size" 128, "topology.backpressure.enable" false, "supervisor.blobstore.class" "org.apache.storm.blobstore.NimbusBlobStore", "storm.blobstore.inputstream.buffer.size.bytes" 65536, "topology.shellbolt.max.pending" 100, "drpc.https.keystore.password" "", "nimbus.code.sync.freq.secs" 120, "logviewer.port" 8000, "topology.scheduler.strategy" "org.apache.storm.scheduler.resource.strategies.scheduling.DefaultResourceAwareStrategy", "topology.executor.send.buffer.size" 1024, "resource.aware.scheduler.priority.strategy" "org.apache.storm.scheduler.resource.strategies.priority.DefaultSchedulingPriorityStrategy", "pacemaker.auth.method" "NONE", "storm.daemon.metrics.reporter.plugins" ["org.apache.storm.daemon.metrics.reporters.JmxPreparableReporter"], "topology.worker.logwriter.childopts" "-Xmx64m", "topology.spout.wait.strategy" "org.apache.storm.spout.SleepSpoutWaitStrategy", "ui.host" "0.0.0.0", "storm.nimbus.retry.interval.millis" 2000, "nimbus.inbox.jar.expiration.secs" 3600, "dev.zookeeper.path" "/tmp/dev-storm-zookeeper", "topology.acker.executors" nil, "topology.fall.back.on.java.serialization" true, "topology.eventlogger.executors" 0, "supervisor.localizer.cleanup.interval.ms" 600000, "storm.zookeeper.servers" ["10.0.0.104" "10.0.0.105" "10.0.0.103"], "nimbus.thrift.threads" 64, "logviewer.cleanup.age.mins" 10080, "topology.worker.childopts" nil, "topology.classpath" nil, "supervisor.monitor.frequency.secs" 3, "nimbus.credential.renewers.freq.secs" 600, "topology.skip.missing.kryo.registrations" false, "drpc.authorizer.acl.filename" "drpc-auth-acl.yaml", "pacemaker.kerberos.users" [], "storm.group.mapping.service.cache.duration.secs" 120, "topology.testing.always.try.serialize" false, "nimbus.monitor.freq.secs" 10, "storm.health.check.timeout.ms" 5000, "supervisor.supervisors" [], "topology.tasks" nil, "topology.bolts.outgoing.overflow.buffer.enable" false, "storm.messaging.netty.socket.backlog" 500, "topology.workers" 1, "pacemaker.base.threads" 10, "storm.local.dir" "/home/storm/data", "worker.childopts" "-Xmx2048m", "storm.auth.simple-white-list.users" [], "topology.disruptor.batch.timeout.millis" 1, "topology.message.timeout.secs" 30, "topology.state.synchronization.timeout.secs" 60, "topology.tuple.serializer" "org.apache.storm.serialization.types.ListDelegateSerializer", "supervisor.supervisors.commands" [], "nimbus.blobstore.expiration.secs" 600, "logviewer.childopts" "-Xmx128m", "topology.environment" nil, "topology.debug" false, "topology.disruptor.batch.size" 100, "storm.disable.symlinks" false, "storm.messaging.netty.max_retries" 300, "ui.childopts" "-Xmx768m", "storm.network.topography.plugin" "org.apache.storm.networktopography.DefaultRackDNSToSwitchMapping", "storm.zookeeper.session.timeout" 20000, "drpc.childopts" "-Xmx768m", "drpc.http.creds.plugin" "org.apache.storm.security.auth.DefaultHttpCredentialsPlugin", "storm.zookeeper.connection.timeout" 15000, "storm.zookeeper.auth.user" nil, "storm.meta.serialization.delegate" "org.apache.storm.serialization.GzipThriftSerializationDelegate", "topology.max.spout.pending" nil, "storm.codedistributor.class" "org.apache.storm.codedistributor.LocalFileSystemCodeDistributor", "nimbus.supervisor.timeout.secs" 60, "nimbus.task.timeout.secs" 30, "drpc.port" 3772, "pacemaker.max.threads" 50, "storm.zookeeper.retry.intervalceiling.millis" 30000, "nimbus.thrift.port" 6627, "storm.auth.simple-acl.admins" [], "topology.component.cpu.pcore.percent" 10.0, "supervisor.memory.capacity.mb" 3072.0, "storm.nimbus.retry.times" 5, "supervisor.worker.start.timeout.secs" 120, "storm.zookeeper.retry.interval" 1000, "logs.users" nil, "storm.cluster.metrics.consumer.publish.interval.secs" 60, "worker.profiler.command" "flight.bash", "transactional.zookeeper.port" nil, "drpc.max_buffer_size" 1048576, "pacemaker.thread.timeout" 10, "task.credentials.poll.secs" 30, "drpc.https.keystore.type" "JKS", "topology.worker.receiver.thread.count" 1, "topology.state.checkpoint.interval.ms" 1000, "supervisor.slots.ports" [6700 6701 6702 6703], "topology.transfer.buffer.size" 1024, "storm.health.check.dir" "healthchecks", "topology.worker.shared.thread.pool.size" 4, "drpc.authorizer.acl.strict" false, "nimbus.file.copy.expiration.secs" 600, "worker.profiler.childopts" "-XX:+UnlockCommercialFeatures -XX:+FlightRecorder", "topology.executor.receive.buffer.size" 1024, "backpressure.disruptor.low.watermark" 0.4, "nimbus.task.launch.secs" 120, "storm.local.mode.zmq" false, "storm.messaging.netty.buffer_size" 5242880, "storm.cluster.state.store" "org.apache.storm.cluster_state.zookeeper_state_factory", "worker.heartbeat.frequency.secs" 1, "storm.log4j2.conf.dir" "log4j2", "ui.http.creds.plugin" "org.apache.storm.security.auth.DefaultHttpCredentialsPlugin", "storm.zookeeper.root" "/storm", "topology.tick.tuple.freq.secs" nil, "drpc.https.port" -1, "storm.workers.artifacts.dir" "workers-artifacts", "supervisor.blobstore.download.max_retries" 3, "task.refresh.poll.secs" 10, "storm.exhibitor.port" 8080, "task.heartbeat.frequency.secs" 3, "pacemaker.port" 6699, "storm.messaging.netty.max_wait_ms" 1000, "topology.component.resources.offheap.memory.mb" 0.0, "drpc.http.port" 3774, "topology.error.throttle.interval.secs" 10, "storm.messaging.transport" "org.apache.storm.messaging.netty.Context", "topology.disable.loadaware.messaging" false, "storm.messaging.netty.authentication" false, "topology.component.resources.onheap.memory.mb" 128.0, "topology.kryo.factory" "org.apache.storm.serialization.DefaultKryoFactory", "worker.gc.childopts" "", "nimbus.topology.validator" "org.apache.storm.nimbus.DefaultTopologyValidator", "nimbus.seeds" ["131.10.11.112"], "nimbus.queue.size" 100000, "nimbus.cleanup.inbox.freq.secs" 600, "storm.blobstore.replication.factor" 3, "worker.heap.memory.mb" 768, "logviewer.max.sum.worker.logs.size.mb" 4096, "pacemaker.childopts" "-Xmx1024m", "ui.users" nil, "transactional.zookeeper.servers" nil, "supervisor.worker.timeout.secs" 30, "storm.zookeeper.auth.password" nil, "storm.blobstore.acl.validation.enabled" false, "client.blobstore.class" "org.apache.storm.blobstore.NimbusBlobStore", "storm.thrift.socket.timeout.ms" 600000, "supervisor.childopts" "-Xmx256m", "topology.worker.max.heap.size.mb" 768.0, "ui.http.x-frame-options" "DENY", "backpressure.disruptor.high.watermark" 0.9, "ui.filter" nil, "ui.header.buffer.bytes" 4096, "topology.min.replication.count" 1, "topology.disruptor.wait.timeout.millis" 1000, "storm.nimbus.retry.intervalceiling.millis" 60000, "topology.trident.batch.emit.interval.millis" 500, "storm.auth.simple-acl.users" [], "drpc.invocations.threads" 64, "java.library.path" "/usr/local/lib:/opt/local/lib:/usr/lib", "ui.port" 8080, "storm.exhibitor.poll.uripath" "/exhibitor/v1/cluster/list", "storm.messaging.netty.transfer.batch.size" 262144, "logviewer.appender.name" "A1", "nimbus.thrift.max_buffer_size" 1048576, "storm.auth.simple-acl.users.commands" [], "drpc.request.timeout.secs" 600} 2018-03-12 11:05:12.388 o.a.s.n.NimbusInfo main [INFO] Nimbus figures out its name to storm 2018-03-12 11:05:12.559 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl main [INFO] Starting 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:host.name=storm 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:java.version=1.8.0_151 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:java.vendor=Oracle Corporation 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:java.home=/usr/local/jdk1.8.0_151/jre 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:java.class.path=/home/apache-storm-1.1.1/lib/asm-5.0.3.jar:/home/apache-storm-1.1.1/lib/log4j-core-2.8.2.jar:/home/apache-storm-1.1.1/lib/log4j-over-slf4j-1.6.6.jar:/home/apache-storm-1.1.1/lib/kryo-3.0.3.jar:/home/apache-storm-1.1.1/lib/objenesis-2.1.jar:/home/apache-storm-1.1.1/lib/log4j-api-2.8.2.jar:/home/apache-storm-1.1.1/lib/slf4j-api-1.7.21.jar:/home/apache-storm-1.1.1/lib/reflectasm-1.10.1.jar:/home/apache-storm-1.1.1/lib/servlet-api-2.5.jar:/home/apache-storm-1.1.1/lib/clojure-1.7.0.jar:/home/apache-storm-1.1.1/lib/log4j-slf4j-impl-2.8.2.jar:/home/apache-storm-1.1.1/lib/disruptor-3.3.2.jar:/home/apache-storm-1.1.1/lib/storm-core-1.1.1.jar:/home/apache-storm-1.1.1/lib/ring-cors-0.1.5.jar:/home/apache-storm-1.1.1/lib/storm-rename-hack-1.1.1.jar:/home/apache-storm-1.1.1/lib/minlog-1.3.0.jar:/usr/local/apache-storm-1.1.1/conf 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:java.library.path=/usr/local/lib:/opt/local/lib:/usr/lib 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:java.io.tmpdir=/tmp 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:java.compiler=<NA> 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:os.name=Linux 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:os.arch=amd64 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:os.version=3.10.0-693.21.1.el7.x86_64 2018-03-12 11:05:12.577 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:user.name=root 2018-03-12 11:05:12.599 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:user.home=/root 2018-03-12 11:05:12.599 o.a.s.s.o.a.z.ZooKeeper main [INFO] Client environment:user.dir=/home/apache-storm-1.1.1 2018-03-12 11:05:12.600 o.a.s.s.o.a.z.ZooKeeper main [INFO] Initiating client connection, connectString=10.0.0.104:2181,10.0.0.105:2181,10.0.0.103:2181/storm sessionTimeout=20000 watcher=org.apache.storm.shade.org.apache.curator.ConnectionState@2703d91 2018-03-12 11:05:12.670 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Opening socket connection to server 10.0.0.105/10.0.0.105:2181. Will not attempt to authenticate using SASL (unknown error) 2018-03-12 11:05:12.687 o.a.s.b.FileBlobStoreImpl main [INFO] Creating new blob store based in /home/storm/data/blobs 2018-03-12 11:05:12.691 o.a.s.d.nimbus main [INFO] Using default scheduler 2018-03-12 11:05:12.722 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl main [INFO] Starting 2018-03-12 11:05:12.737 o.a.s.s.o.a.z.ZooKeeper main [INFO] Initiating client connection, connectString=10.0.0.104:2181,10.0.0.105:2181,10.0.0.103:2181 sessionTimeout=20000 watcher=org.apache.storm.shade.org.apache.curator.ConnectionState@6e31d989 2018-03-12 11:05:12.765 o.a.s.n.NimbusInfo main [INFO] Nimbus figures out its name to storm 2018-03-12 11:05:12.786 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Opening socket connection to server 10.0.0.105/10.0.0.105:2181. Will not attempt to authenticate using SASL (unknown error) 2018-03-12 11:05:12.802 o.a.s.n.NimbusInfo main [INFO] Nimbus figures out its name to storm 2018-03-12 11:05:12.843 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl main [INFO] Starting 2018-03-12 11:05:12.875 o.a.s.s.o.a.z.ZooKeeper main [INFO] Initiating client connection, connectString=10.0.0.104:2181,10.0.0.105:2181,10.0.0.103:2181 sessionTimeout=20000 watcher=org.apache.storm.shade.org.apache.curator.ConnectionState@3e8799f 2018-03-12 11:05:12.882 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Socket connection established to 10.0.0.105/10.0.0.105:2181, initiating session 2018-03-12 11:05:12.884 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Socket connection established to 10.0.0.105/10.0.0.105:2181, initiating session 2018-03-12 11:05:12.929 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [INFO] Opening socket connection to server 10.0.0.104/10.0.0.104:2181. Will not attempt to authenticate using SASL (unknown error) 2018-03-12 11:05:12.935 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [WARN] Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.NoRouteToHostException: 沒有到主機的路由 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_151] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[?:1.8.0_151] at org.apache.storm.shade.org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[storm-core-1.1.1.jar:1.1.1] at org.apache.storm.shade.org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[storm-core-1.1.1.jar:1.1.1] 2018-03-12 11:05:12.987 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Session establishment complete on server 10.0.0.105/10.0.0.105:2181, sessionid = 0x262140066ad0004, negotiated timeout = 20000 2018-03-12 11:05:12.988 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Session establishment complete on server 10.0.0.105/10.0.0.105:2181, sessionid = 0x262140066ad0005, negotiated timeout = 20000 2018-03-12 11:05:12.996 o.a.s.s.o.a.c.f.s.ConnectionStateManager main-EventThread [INFO] State change: CONNECTED 2018-03-12 11:05:12.997 o.a.s.s.o.a.c.f.s.ConnectionStateManager main-EventThread [INFO] State change: CONNECTED 2018-03-12 11:05:12.998 o.a.s.zookeeper main-EventThread [INFO] Zookeeper state update: :connected:none 2018-03-12 11:05:13.037 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [INFO] Opening socket connection to server 10.0.0.105/10.0.0.105:2181. Will not attempt to authenticate using SASL (unknown error) 2018-03-12 11:05:13.037 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [INFO] Socket connection established to 10.0.0.105/10.0.0.105:2181, initiating session 2018-03-12 11:05:13.057 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [INFO] Session establishment complete on server 10.0.0.105/10.0.0.105:2181, sessionid = 0x262140066ad0006, negotiated timeout = 20000 2018-03-12 11:05:13.058 o.a.s.s.o.a.c.f.s.ConnectionStateManager main-EventThread [INFO] State change: CONNECTED 2018-03-12 11:05:13.058 o.a.s.zookeeper main-EventThread [INFO] Zookeeper state update: :connected:none 2018-03-12 11:05:13.151 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl Curator-Framework-0 [INFO] backgroundOperationsLoop exiting 2018-03-12 11:05:13.173 o.a.s.s.o.a.z.ZooKeeper main [INFO] Session: 0x262140066ad0006 closed 2018-03-12 11:05:13.174 o.a.s.s.o.a.z.ClientCnxn main-EventThread [INFO] EventThread shut down 2018-03-12 11:05:13.176 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl main [INFO] Starting 2018-03-12 11:05:13.176 o.a.s.s.o.a.z.ZooKeeper main [INFO] Initiating client connection, connectString=10.0.0.104:2181,10.0.0.105:2181,10.0.0.103:2181/storm sessionTimeout=20000 watcher=org.apache.storm.shade.org.apache.curator.ConnectionState@104dc1a2 2018-03-12 11:05:13.178 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl main [INFO] Starting 2018-03-12 11:05:13.179 o.a.s.s.o.a.z.ZooKeeper main [INFO] Initiating client connection, connectString=10.0.0.104:2181,10.0.0.105:2181,10.0.0.103:2181/storm sessionTimeout=20000 watcher=org.apache.storm.shade.org.apache.curator.ConnectionState@4dad0eed 2018-03-12 11:05:13.214 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Opening socket connection to server 10.0.0.105/10.0.0.105:2181. Will not attempt to authenticate using SASL (unknown error) 2018-03-12 11:05:13.214 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [INFO] Opening socket connection to server 10.0.0.104/10.0.0.104:2181. Will not attempt to authenticate using SASL (unknown error) 2018-03-12 11:05:13.216 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [WARN] Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.NoRouteToHostException: 沒有到主機的路由 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_151] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[?:1.8.0_151] at org.apache.storm.shade.org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[storm-core-1.1.1.jar:1.1.1] at org.apache.storm.shade.org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[storm-core-1.1.1.jar:1.1.1] 2018-03-12 11:05:13.216 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Socket connection established to 10.0.0.105/10.0.0.105:2181, initiating session 2018-03-12 11:05:13.236 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.105:2181) [INFO] Session establishment complete on server 10.0.0.105/10.0.0.105:2181, sessionid = 0x262140066ad0007, negotiated timeout = 20000 2018-03-12 11:05:13.236 o.a.s.s.o.a.c.f.s.ConnectionStateManager main-EventThread [INFO] State change: CONNECTED 2018-03-12 11:05:13.316 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [INFO] Opening socket connection to server 10.0.0.105/10.0.0.105:2181. Will not attempt to authenticate using SASL (unknown error) 2018-03-12 11:05:13.317 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [INFO] Socket connection established to 10.0.0.105/10.0.0.105:2181, initiating session 2018-03-12 11:05:13.358 o.a.s.s.o.a.z.ClientCnxn main-SendThread(10.0.0.104:2181) [INFO] Session establishment complete on server 10.0.0.105/10.0.0.105:2181, sessionid = 0x262140066ad0008, negotiated timeout = 20000 2018-03-12 11:05:13.359 o.a.s.s.o.a.c.f.s.ConnectionStateManager main-EventThread [INFO] State change: CONNECTED 2018-03-12 11:05:13.630 o.a.s.zookeeper main [INFO] Queued up for leader lock. 2018-03-12 11:05:13.705 o.a.s.s.o.a.c.u.ZKPaths Curator-Framework-0 [WARN] The version of ZooKeeper being used doesn‘t support Container nodes. CreateMode.PERSISTENT will be used instead. 2018-03-12 11:05:13.732 o.a.s.d.m.MetricsUtils main [INFO] Using statistics reporter plugin:org.apache.storm.daemon.metrics.reporters.JmxPreparableReporter 2018-03-12 11:05:13.733 o.a.s.d.m.r.JmxPreparableReporter main [INFO] Preparing... 2018-03-12 11:05:13.764 o.a.s.d.common main [INFO] Started statistics report plugin... 2018-03-12 11:05:13.858 o.a.s.z.Zookeeper main-EventThread [INFO] active-topology-blobs [] local-topology-blobs [] diff-topology-blobs [] 2018-03-12 11:05:13.859 o.a.s.z.Zookeeper main-EventThread [INFO] active-topology-dependencies [] local-blobs [] diff-topology-dependencies [] 2018-03-12 11:05:13.859 o.a.s.z.Zookeeper main-EventThread [INFO] Accepting leadership, all active topologies and corresponding dependencies found locally. 2018-03-12 11:05:13.881 o.a.s.d.nimbus main [INFO] Starting nimbus server for storm version ‘1.1.1‘
解決:
查看防火墻發現防火墻開啟:
[root@storm logs]# systemctl status firewalld ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) Active: active (running) since 六 2018-03-10 16:11:46 CST; 1 day 19h ago Docs: man:firewalld(1) Main PID: 667 (firewalld) Tasks: 2 Memory: 0B CGroup: /system.slice/firewalld.service └─667 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid 3月 10 16:12:21 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t nat -C OUTPUT -m addrtype --dst-t...t name. 3月 10 16:12:21 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t filter -C FORWARD -o docker0 -j D...t name. 3月 10 16:12:21 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t filter -C FORWARD -j DOCKER-ISOLA...t name. 3月 10 16:12:22 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t nat -C POSTROUTING -s 10.42.0.0/1...t name. 3月 10 16:12:22 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t nat -C DOCKER -i docker0 -j RETUR...hain?). 3月 10 16:12:22 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -D FORWARD -i docker0 -o docker0 -j ...hain?). 3月 10 16:12:22 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t filter -C FORWARD -i docker0 -o d...hain?). 3月 10 16:12:22 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t filter -C FORWARD -i docker0 ! -o...hain?). 3月 10 16:12:22 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t filter -C FORWARD -o docker0 -m c...hain?). 3月 10 16:12:22 storm firewalld[667]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w2 -t filter -C FORWARD -o docker0 -j D...t name. Hint: Some lines were ellipsized, use -l to show in full.
關掉防火墻重新啟動nimbus,啟動成功
[root@storm logs]# systemctl stop firewalld
[root@storm logs]# cd /usr/local/apache-storm-1.1.1/
[root@storm apache-storm-1.1.1]# nohup bin/storm nimbus >nimbus.out 2>&1 < /dev/null &
[2] 23599
檢查啟動進程:
[root@storm apache-storm-1.1.1]# jps 23264 nimbus 23626 Jps 23614 config_value [root@storm apache-storm-1.1.1]# jps 23264 nimbus 23649 Jps 23639 config_value [root@storm apache-storm-1.1.1]#
storm:防火墻引起啟動nimbus失敗