ZooKeeper客户端连接异常
09:11:34.394 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2000] INFOo.a.s.s.o.a.z.s.ZooKeeperServer - Client attempting to establish new session at /127.0.0.1:5564609:11:34.399 [AsyncLocalizer Executor - 0-S
·
09:11:34.394 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2000] INFO o.a.s.s.o.a.z.s.ZooKeeperServer - Client attempting to establish new session at /127.0.0.1:55646
09:11:34.399 [AsyncLocalizer Executor - 0-SendThread(localhost:2000)] INFO o.a.s.s.o.a.z.ClientCnxn - Session establishment complete on server localhost/127.0.0.1:2000, sessionid = 0x10055481918001a, negotiated timeout = 20000
09:11:34.399 [SyncThread:0] INFO o.a.s.s.o.a.z.s.ZooKeeperServer - Established session 0x10055481918001a with negotiated timeout 20000 for client /127.0.0.1:55646
09:11:34.400 [AsyncLocalizer Executor - 0-EventThread] INFO o.a.s.s.o.a.c.f.s.ConnectionStateManager - State change: CONNECTED
09:11:34.506 [AsyncLocalizer Executor - 1] WARN o.a.s.l.AsyncLocalizer - Failed to download blob LOCAL TOPO BLOB TOPO_JAR pri_1-1-1618535492 will try again in 100 ms
java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:120) ~[?:1.8.0_131]
at org.apache.storm.utils.ServerUtils.zipDoesContainDir(ServerUtils.java:256) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.LocallyCachedTopologyBlob.resourcesJar(LocallyCachedTopologyBlob.java:89) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.LocallyCachedTopologyBlob.fetchUnzipToTemp(LocallyCachedTopologyBlob.java:142) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.AsyncLocalizer.lambda$downloadOrUpdate$10(AsyncLocalizer.java:273) ~[storm-server-2.1.0.jar:2.1.0]
at java.util.concurrent.CompletableFuture$AsyncRun.run$$$capture(CompletableFuture.java:1626) [?:1.8.0_131]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java) [?:1.8.0_131]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run(FutureTask.java) [?:1.8.0_131]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_131]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
09:11:34.670 [timer] INFO o.a.s.d.n.Nimbus - TRANSITION: pri_1-1-1618535492 GAIN_LEADERSHIP null false
09:11:34.730 [AsyncLocalizer Executor - 1] WARN o.a.s.l.AsyncLocalizer - Failed to download blob LOCAL TOPO BLOB TOPO_JAR pri_1-1-1618535492 will try again in 100 ms
java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:120) ~[?:1.8.0_131]
at org.apache.storm.utils.ServerUtils.zipDoesContainDir(ServerUtils.java:256) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.LocallyCachedTopologyBlob.resourcesJar(LocallyCachedTopologyBlob.java:89) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.LocallyCachedTopologyBlob.fetchUnzipToTemp(LocallyCachedTopologyBlob.java:142) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.AsyncLocalizer.lambda$downloadOrUpdate$10(AsyncLocalizer.java:273) ~[storm-server-2.1.0.jar:2.1.0]
at java.util.concurrent.CompletableFuture$AsyncRun.run$$$capture(CompletableFuture.java:1626) [?:1.8.0_131]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java) [?:1.8.0_131]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run(FutureTask.java) [?:1.8.0_131]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_131]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
09:11:34.893 [AsyncLocalizer Executor - 1] WARN o.a.s.l.AsyncLocalizer - Failed to download blob LOCAL TOPO BLOB TOPO_JAR pri_1-1-1618535492 will try again in 100 ms
java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[?:1.8.0_131]
at java.util.zip.ZipFile.<init>(ZipFile.java:120) ~[?:1.8.0_131]
at org.apache.storm.utils.ServerUtils.zipDoesContainDir(ServerUtils.java:256) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.LocallyCachedTopologyBlob.resourcesJar(LocallyCachedTopologyBlob.java:89) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.LocallyCachedTopologyBlob.fetchUnzipToTemp(LocallyCachedTopologyBlob.java:142) ~[storm-server-2.1.0.jar:2.1.0]
at org.apache.storm.localizer.AsyncLocalizer.lambda$downloadOrUpdate$10(AsyncLocalizer.java:273) ~[storm-server-2.1.0.jar:2.1.0]
at java.util.concurrent.CompletableFuture$AsyncRun.run$$$capture(CompletableFuture.java:1626) [?:1.8.0_131]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java) [?:1.8.0_131]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run(FutureTask.java) [?:1.8.0_131]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_131]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
09:11:35.069 [Curator-Framework-0] INFO o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl - backgroundOperationsLoop exiting
09:11:35.074 [ProcessThread(sid:0 cport:2000):] INFO o.a.s.s.o.a.z.s.PrepRequestProcessor - Processed session termination for sessionid: 0x100554819180011
09:11:35.075 [AsyncLocalizer Executor - 1] INFO o.a.s.s.o.a.z.ZooKeeper - Session: 0x100554819180011 closed
09:11:35.076 [AsyncLocalizer Executor - 1-EventThread] INFO o.a.s.s.o.a.z.ClientCnxn - EventThread shut down for session: 0x100554819180011
我已经在hosts文件里修改了配置,但死活连不上,前一天都是好的,突然有问题,很是郁闷,最后一检查发现,zookeeper的连接地址全是localhost,很是奇怪,我也没有配置这个地址啊,最后一查,应该是导的包的问题,取掉pom.xml里的web依赖包就好了,
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
真是一次操蛋的经历啊
更多推荐
已为社区贡献2条内容
所有评论(0)