[Bug] [Helm] No DB Nodes Exist
Gallardot opened this issue · comments
Gallardot commented
Search before asking
- I had searched in the issues and found no similar issues.
What happened
Deployed on K8S via Helm Charts, using mysql as the database.
error log:
[ERROR] 2024-05-10 11:41:05.611 +0800 o.a.d.a.e.ApiExceptionHandler:[47] - Meet en unknown exception:
java.sql.SQLSyntaxErrorException: Table 'dolphinscheduler.pg_stat_activity' doesn't exist
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.StatementImpl.executeQuery(StatementImpl.java:1200)
at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:110)
at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
at org.apache.dolphinscheduler.dao.plugin.postgresql.monitor.PostgresqlMonitor.getDatabaseMetrics(PostgresqlMonitor.java:57)
at org.apache.dolphinscheduler.api.service.impl.MonitorServiceImpl.queryDatabaseState(MonitorServiceImpl.java:61)
at org.apache.dolphinscheduler.api.controller.MonitorController.queryDatabaseState(MonitorController.java:99)
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)
What you expected to happen
no error
How to reproduce
Deployed on K8S via Helm Charts, using mysql as the database.
Anything else
No response
Version
dev
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct