1446271289 commented on issue #17459:
URL:
https://github.com/apache/dolphinscheduler/issues/17459#issuecomment-3236051787
docker compose部署,碰到相同的问题:附带各容器的日志
`[root@0001 docker]# docker ps -a
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS
NAMES
5ace9abf24cb apache/dolphinscheduler-worker:3.3.1
"/__cacert_entrypoin…" 12 minutes ago Exited (1) 12 minutes ago
docker-dolphinscheduler-worker-1
14d604ad008d apache/dolphinscheduler-master:3.3.1
"/__cacert_entrypoin…" 47 minutes ago Up 47 minutes (healthy)
12345/tcp, 25333/tcp
docker-dolphinscheduler-master-1
b8ef4ee13b65 apache/dolphinscheduler-alert-server:3.3.1
"/__cacert_entrypoin…" 47 minutes ago Up 47 minutes (healthy)
12345/tcp, 25333/tcp
docker-dolphinscheduler-alert-1
225a6acde4b5 apache/dolphinscheduler-api:3.3.1
"/__cacert_entrypoin…" 47 minutes ago Up 47 minutes (healthy)
0.0.0.0:12345->12345/tcp, :::12345->12345/tcp, 0.0.0.0:25333->25333/tcp,
:::25333->25333/tcp docker-dolphinscheduler-api-1
1ce1797a222d bitnami/zookeeper:3.7.1
"/opt/bitnami/script…" 47 minutes ago Up 47 minutes (healthy) 2181/tcp,
2888/tcp, 3888/tcp, 8080/tcp
docker-dolphinscheduler-zookeeper-1
7e48840285cd apache/dolphinscheduler-tools:3.3.1 "/bin/bash
tools/bin…" 47 minutes ago Exited (0) 47 minutes ago
docker-dolphinscheduler-schema-initializer-1
952a5cf4fc68 bitnami/postgresql:15.2.0
"/opt/bitnami/script…" 47 minutes ago Up 47 minutes (healthy)
0.0.0.0:5432->5432/tcp, :::5432->5432/tcp
docker-dolphinscheduler-postgresql-1
[root@0001 docker]#
14d604ad008d
[WI-0][TI-0] - 2025-08-29 14:51:48.173 INFO [Master-Server]
o.a.d.s.m.c.ClusterManager:[93] - Initialized WorkerClusters: [ ]
[WI-0][TI-0] - 2025-08-29 14:51:48.222 ERROR [Curator-TreeCache-0]
o.a.c.f.r.c.TreeCache:[828] -
java.lang.NullPointerException: null
at
org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperTreeCacheListenerAdapter.childEvent(ZookeeperTreeCacheListenerAdapter.java:42)
at
org.apache.curator.framework.recipes.cache.TreeCache.lambda$callListeners$1(TreeCache.java:811)
at
org.apache.curator.framework.listen.MappingListenerManager.lambda$forEach$0(MappingListenerManager.java:93)
at
org.apache.curator.framework.listen.MappingListenerManager.forEach(MappingListenerManager.java:90)
at
org.apache.curator.framework.listen.StandardListenerManager.forEach(StandardListenerManager.java:90)
at
org.apache.curator.framework.recipes.cache.TreeCache.callListeners(TreeCache.java:807)
at
org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:79)
at
org.apache.curator.framework.recipes.cache.TreeCache$2.run(TreeCache.java:909)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
b8ef4ee13b65
2025-08-29 14:51:44.089 ERROR [Curator-TreeCache-0]
o.a.c.f.r.c.TreeCache:[828] -
java.lang.NullPointerException: null
at
org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperTreeCacheListenerAdapter.childEvent(ZookeeperTreeCacheListenerAdapter.java:42)
at
org.apache.curator.framework.recipes.cache.TreeCache.lambda$callListeners$1(TreeCache.java:811)
at
org.apache.curator.framework.listen.MappingListenerManager.lambda$forEach$0(MappingListenerManager.java:93)
at
org.apache.curator.framework.listen.MappingListenerManager.forEach(MappingListenerManager.java:90)
at
org.apache.curator.framework.listen.StandardListenerManager.forEach(StandardListenerManager.java:90)
at
org.apache.curator.framework.recipes.cache.TreeCache.callListeners(TreeCache.java:807)
at
org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:79)
at
org.apache.curator.framework.recipes.cache.TreeCache$2.run(TreeCache.java:909)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
2025-08-29 14:51:44.170 INFO [AlertHeartbeatTask]
o.a.d.c.c.SystemConstants:[30] - init timezone:
sun.util.calendar.ZoneInfo[id="Asia/Shanghai",offset=28800000,dstSavings=0,useDaylight=false,transitions=31,lastRule=null]
2025-08-29 14:51:44.359 INFO [Alert-Server]
o.a.d.r.a.h.AbstractHAServer:[84] - Server 172.19.0.5:50052 is standby
2025-08-29 14:51:44.359 INFO [Alert-Server] o.a.d.a.s.AlertHAServer:[40] -
AlertHAServer started...
2025-08-29 14:51:44.359 INFO [Alert-Server] o.a.d.a.AlertServer:[97] -
AlertServer is started ...
2025-08-29 14:51:47.222 INFO [Alert-Server]
o.s.b.a.e.w.EndpointLinksResolver:[58] - Exposing 3 endpoint(s) beneath base
path '/actuator'
2025-08-29 14:51:47.474 INFO [Alert-Server] o.e.j.s.h.C.application:[2368]
- Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-08-29 14:51:47.474 INFO [Alert-Server] o.s.w.s.DispatcherServlet:[525]
- Initializing Servlet 'dispatcherServlet'
2025-08-29 14:51:47.476 INFO [Alert-Server] o.s.w.s.DispatcherServlet:[547]
- Completed initialization in 2 ms
2025-08-29 14:51:47.571 INFO [Alert-Server] o.e.j.s.AbstractConnector:[333]
- Started ServerConnector@15369d73{HTTP/1.1, (http/1.1)}{0.0.0.0:50053}
2025-08-29 14:51:47.573 INFO [Alert-Server]
o.s.b.w.e.j.JettyWebServer:[172] - Jetty started on port(s) 50053 (http/1.1)
with context path '/'
2025-08-29 14:51:47.623 INFO [Alert-Server] o.a.d.a.AlertServer:[61] -
Started AlertServer in 18.47 seconds (JVM running for 19.053)
2025-08-29 14:52:05.267 INFO [Curator-TreeCache-0]
o.a.d.r.a.h.DefaultServerStatusChangeListener:[27] - The status is active now.
2025-08-29 14:52:05.267 INFO [Curator-TreeCache-0]
o.a.d.a.s.AlertBootstrapService:[48] - AlertBootstrapService starting...
225a6acde4b5
2025-08-29 15:04:25.162 ERROR [qtp1114221271-29]
o.a.d.a.e.ApiExceptionHandler:[47] - Meet an unknown exception:
java.lang.NullPointerException: null
at
org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl.queryResourceBaseDir(ResourcesServiceImpl.java:402)
at
org.apache.dolphinscheduler.api.controller.ResourcesController.queryResourceBaseDir(ResourcesController.java:349)
at
org.apache.dolphinscheduler.api.controller.ResourcesController$$FastClassBySpringCGLIB$$2270281e.invoke(<generated>)
at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
at
org.apache.dolphinscheduler.api.controller.ResourcesController$$EnhancerBySpringCGLIB$$d32d066b.queryResourceBaseDir(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
at
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
at
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at
org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)
at
org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at
org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at
org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at
org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at
org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at
org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at
org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at
org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at
org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at
org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.lang.Thread.run(Thread.java:750)
1ce1797a222d
2025-08-29 07:19:11,670 [myid:1] - WARN
[NIOWorkerThread-16:NIOServerCnxn@371] - Unexpected exception
EndOfStreamException: Unable to read additional data from client, it
probably closed the socket: address = /127.0.0.1:36532, session = 0x0
at
org.apache.zookeeper.server.NIOServerCnxn.handleFailedRead(NIOServerCnxn.java:170)
at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:333)
at
org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:508)
at
org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2025-08-29 07:19:16,723 [myid:1] - WARN
[NIOWorkerThread-14:NIOServerCnxn@371] - Unexpected exception
EndOfStreamException: Unable to read additional data from client, it
probably closed the socket: address = /127.0.0.1:36542, session = 0x0
at
org.apache.zookeeper.server.NIOServerCnxn.handleFailedRead(NIOServerCnxn.java:170)
at
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:333)
at
org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:508)
at
org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
952a5cf4fc68
postgresql 06:50:55.37 INFO ==> ** Starting PostgreSQL **
2025-08-29 06:50:55.387 GMT [1] LOG: pgaudit extension initialized
2025-08-29 06:50:55.398 GMT [1] LOG: starting PostgreSQL 15.2 on
x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2025-08-29 06:50:55.399 GMT [1] LOG: listening on IPv4 address "0.0.0.0",
port 5432
2025-08-29 06:50:55.399 GMT [1] LOG: listening on IPv6 address "::", port
5432
2025-08-29 06:50:55.403 GMT [1] LOG: listening on Unix socket
"/tmp/.s.PGSQL.5432"
2025-08-29 06:50:55.411 GMT [90] LOG: database system was interrupted; last
known up at 2025-08-29 03:33:48 GMT
2025-08-29 06:50:55.488 GMT [90] LOG: database system was not properly shut
down; automatic recovery in progress
2025-08-29 06:50:55.492 GMT [90] LOG: redo starts at 0/191D3D8
2025-08-29 06:50:55.510 GMT [90] LOG: invalid record length at 0/1B61A68:
wanted 24, got 0
2025-08-29 06:50:55.510 GMT [90] LOG: redo done at 0/1B61A30 system usage:
CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.01 s
2025-08-29 06:50:55.516 GMT [88] LOG: checkpoint starting: end-of-recovery
immediate wait
2025-08-29 06:50:55.568 GMT [88] LOG: checkpoint complete: wrote 509
buffers (3.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.025 s,
sync=0.020 s, total=0.056 s; sync files=303, longest=0.003 s, average=0.001 s;
distance=2321 kB, estimate=2321 kB
2025-08-29 06:50:55.573 GMT [1] LOG: database system is ready to accept
connections
2025-08-29 06:55:55.668 GMT [88] LOG: checkpoint starting: time
2025-08-29 06:56:01.999 GMT [88] LOG: checkpoint complete: wrote 64 buffers
(0.4%); 0 WAL file(s) added, 0 removed, 0 recycled; write=6.315 s, sync=0.006
s, total=6.332 s; sync files=15, longest=0.004 s, average=0.001 s; distance=10
kB, estimate=2090 kB
2025-08-29 07:00:56.075 GMT [88] LOG: checkpoint starting: time
2025-08-29 07:00:57.397 GMT [88] LOG: checkpoint complete: wrote 14 buffers
(0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.306 s, sync=0.004
s, total=1.322 s; sync files=12, longest=0.003 s, average=0.001 s; distance=37
kB, estimate=1885 kB
2025-08-29 07:05:56.486 GMT [88] LOG: checkpoint starting: time
2025-08-29 07:06:00.212 GMT [88] LOG: checkpoint complete: wrote 38 buffers
(0.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.710 s, sync=0.005
s, total=3.727 s; sync files=25, longest=0.003 s, average=0.001 s; distance=36
kB, estimate=1700 kB
2025-08-29 07:10:56.276 GMT [88] LOG: checkpoint starting: time
2025-08-29 07:11:00.602 GMT [88] LOG: checkpoint complete: wrote 44 buffers
(0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.310 s, sync=0.005
s, total=4.327 s; sync files=22, longest=0.004 s, average=0.001 s; distance=31
kB, estimate=1533 kB
2025-08-29 07:15:56.683 GMT [88] LOG: checkpoint starting: time
2025-08-29 07:15:57.206 GMT [88] LOG: checkpoint complete: wrote 6 buffers
(0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.504 s, sync=0.008
s, total=0.524 s; sync files=6, longest=0.003 s, average=0.002 s; distance=32
kB, estimate=1383 kB
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]