zhujian86 opened a new issue #5586:
URL: https://github.com/apache/dolphinscheduler/issues/5586


   I cannot see any master or worker on the Monitor page when the backend 
process instance is still alive on the ds server.
   
   ```[ERROR] 2021-06-02 08:53:16.176 
org.apache.dolphinscheduler.server.master.registry.ServerNodeManager:[230] - 
WorkerGroupListener capture data change and get data failed
   org.mybatis.spring.MyBatisSystemException: nested exception is 
org.apache.ibatis.exceptions.PersistenceException:
   ### Error updating database.  Cause: 
org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain 
JDBC Connection; nested exception is 
com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at 
Wed Jun 02 08:52:57 CST 2021
   ### The error may exist in 
org/apache/dolphinscheduler/dao/mapper/AlertMapper.java (best guess)
   ### The error may involve 
org.apache.dolphinscheduler.dao.mapper.AlertMapper.insert
   ### The error occurred while executing an update
   ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed 
to obtain JDBC Connection; nested exception is 
com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at 
Wed Jun 02 08:52:57 CST 2021
           at 
org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:78)
           at 
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440)
           at com.sun.proxy.$Proxy84.insert(Unknown Source)
           at 
org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:271)
           at 
com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:58)
           at 
com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61)
           at com.sun.proxy.$Proxy108.insert(Unknown Source)
           at 
org.apache.dolphinscheduler.dao.AlertDao.saveTaskTimeoutAlert(AlertDao.java:135)
           at 
org.apache.dolphinscheduler.dao.AlertDao.sendServerStopedAlert(AlertDao.java:102)
           at 
org.apache.dolphinscheduler.server.master.registry.ServerNodeManager$WorkerGroupNodeListener.dataChanged(ServerNodeManager.java:225)
           at 
org.apache.dolphinscheduler.service.zk.AbstractListener.childEvent(AbstractListener.java:32)
           at 
org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:760)
           at 
org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:754)
           at 
org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:100)
           at 
org.apache.curator.shaded.com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
           at 
org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:92)
           at 
org.apache.curator.framework.recipes.cache.TreeCache.callListeners(TreeCache.java:753)
           at 
org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:75)
           at 
org.apache.curator.framework.recipes.cache.TreeCache$4.run(TreeCache.java:865)
           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:748)`
   Caused by: org.apache.ibatis.exceptions.PersistenceException:
   ### Error updating database.  Cause: 
org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain 
JDBC Connection; nested exception is 
com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at 
Wed Jun 02 08:52:57 CST 2021
   ### The error may exist in 
org/apache/dolphinscheduler/dao/mapper/AlertMapper.java (best guess)
   ### The error may involve 
org.apache.dolphinscheduler.dao.mapper.AlertMapper.insert
   ### The error occurred while executing an update
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to