Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Workflow Execution Module removes the useless dependency of linkis #946

Open
2 tasks done
liuyou2 opened this issue Aug 29, 2022 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@liuyou2
Copy link
Contributor

liuyou2 commented Aug 29, 2022

Search before asking

  • I searched the issues and found no similar issues.

DSS Component

dss-orchestrator

What happened + What you expected to happen

Workflow Execution Module removes the useless dependency of linkis

2022-08-29 00:15:00.006 INFO [quartzScheduler_Worker-8] org.apache.linkis.jobhistory.cache.impl.ScheduledRefreshUndoneJob 35 executeInternal - Started cache refresh job.
2022-08-29 00:15:00.078 ERROR [quartzScheduler_Worker-8] org.quartz.core.JobRunShell 211 run - Job DEFAULT.ScheduledRefreshUndoneJob threw an unhandled Exception: org.springframework.jdbc.BadSqlGrammarException:

Error querying database. Cause: java.sql.SQLSyntaxErrorException: Table 'dss.linkis_ps_job_history_group_history' doesn't exist

The error may exist in URL [jar:file:/ldp/opt/dss/lib/dss-orchestrator/dss-flow-execution-server/linkis-jobhistory-1.1.3.jar!/org/apache/linkis/jobhistory/dao/impl/JobHistoryMapper.xml]

The error may involve defaultParameterMap

The error occurred while setting parameters

SQL: SELECT count(0) FROM linkis_ps_job_history_group_history WHERE id >= ? AND created_time >= ? AND created_time <= ? AND status IN (?, ?, ?)

Cause: java.sql.SQLSyntaxErrorException: Table 'dss.linkis_ps_job_history_group_history' doesn't exist

; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Table 'dss.linkis_ps_job_history_group_history' doesn't exist
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239) ~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72) ~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:88) ~[mybatis-spring-2.0.5.jar:2.0.5]
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440) ~[mybatis-spring-2.0.5.jar:2.0.5]
at com.sun.proxy.$Proxy169.selectList(Unknown Source) ~[?:?]
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:223) ~[mybatis-spring-2.0.5.jar:2.0.5]
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:173) ~[mybatis-plus-core-3.4.1.jar:3.4.1]
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:78) ~[mybatis-plus-core-3.4.1.jar:3.4.1]
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.jav

Relevent platform

DSS1.1.0 dss-flow-execution-server

Reproduction script

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@liuyou2 liuyou2 added the bug Something isn't working label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant