Closed chengshiwen closed 3 years ago
Hi:
这么久了,这个bug依然存在。已测试docker-compose安装部署的3.0.0,3.1.0都有这个问题。
3.0.2 同样
3.1.3版本集群重启master节点也出现ERROR: relation "t_ds_worker_group" does not exist,这个问题
3.1.7 pg 初始化仍然存在
+1
+1 :: DolphinScheduler alert server :: (v3.2.1)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2048)
at io.kubernetes.client.informer.cache.DeltaFIFO.pop(DeltaFIFO.java:318)
at io.kubernetes.client.informer.cache.Controller.processLoop(Controller.java:162)
at io.kubernetes.client.informer.cache.Controller.run(Controller.java:130)
at java.lang.Thread.run(Thread.java:750)
[ERROR] 2024-07-10 07:52:41.689 +0800 io.kubernetes.client.informer.cache.ProcessorListener:[96] - processor interrupted: {}
java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2048)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at io.kubernetes.client.informer.cache.ProcessorListener.run(ProcessorListener.java:58)
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)
[INFO] 2024-07-10 07:52:41.714 +0800 org.apache.dolphinscheduler.alert.AlertServer:[95] - Alert server is stopping, cause: alert server destroy
:: DolphinScheduler master server :: (v3.2.1)
[WI-0][TI-0] - [WARN] 2024-07-10 07:54:41.246 +0800 o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:[591] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'masterServer': Unsatisfied dependency expressed through field 'masterSchedulerBootstrap'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'masterSchedulerBootstrap': Unsatisfied dependency expressed through field 'workflowExecuteRunnableFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'workflowExecuteRunnableFactory': Unsatisfied dependency expressed through field 'workflowExecuteContextFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'workflowExecuteContextFactory': Unsatisfied dependency expressed through field 'masterSlotManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'masterSlotManager': Unsatisfied dependency expressed through field 'serverNodeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverNodeManager' defined in URL [jar:file:/opt/dolphinscheduler/libs/dolphinscheduler-master-3.2.1.jar!/org/apache/dolphinscheduler/server/master/registry/ServerNodeManager.class]: Invocation of init method failed; nested exception is org.springframework.jdbc.BadSqlGrammarException:
### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: relation "t_ds_worker_group" does not exist
Position: 23
### The error may exist in class path resource [org/apache/dolphinscheduler/dao/mapper/WorkerGroupMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: select * from t_ds_worker_group order by update_time desc
### Cause: org.postgresql.util.PSQLException: ERROR: relation "t_ds_worker_group" does not exist
Position: 23
; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "t_ds_worker_group" does not exist
Position: 23
[WI-0][TI-0] - [INFO] 2024-07-10 07:54:41.254 +0800 o.a.d.s.m.r.MasterRegistryClient:[188] - Master node : dolphinscheduler-master-0.dolphinscheduler-master-headless:5678 unRegistry to register center.
[WI-0][TI-0] - [INFO] 2024-07-10 07:54:41.256 +0800 o.a.c.f.i.CuratorFrameworkImpl:[998] - backgroundOperationsLoop exiting
[WI-0][TI-0] - [INFO] 2024-07-10 07:54:41.370 +0800 o.a.z.ClientCnxn:[568] - EventThread shut down for session: 0x100000479980042
dolphinscheduler-postresql
2024-07-09 23:46:55.583 GMT [1] LOG: database system is ready to accept connections
2024-07-09 23:49:09.007 GMT [323] ERROR: relation "t_ds_worker_group" does not exist at character 23
2024-07-09 23:49:09.007 GMT [323] STATEMENT: select *
from t_ds_worker_group
order by update_time desc
To Reproduce Steps to reproduce the behavior, for example:
docker-compose up -d
docker logs -f dolphinscheduler-alert
Expected behavior Bug fixed
Screenshots Alert logs:
Which version of Dolphin Scheduler: -[dev]
Additional context Add any other context about the problem here.
Requirement or improvement