[Bug] In the reuse engine scenario, obtaining an empty engine instance can cause the reuse engine to fail
Open
bug
- Dominant language
- Java
- Stars
- 3.4k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
### Search before asking
- [x] I searched the [issues](https://github.com/apache/linkis/issues) and found no similar issues.
### Linkis Component
linkis-computation-governance
### Steps to reproduce
1. Submit task
2. Complete the task
3. Submitting the task reuse engine again may result in reuse failure
### Expected behavior
1. Able to reuse the engine correctly
### Your environment
- Linkis version used: 1.1.2
- Environment name and version:
- cdh-5.14.2
- hdp-3.1.5
- hive-2.1.1
- spark-3.2.1
- scala-2.12.2
- jdk 1.8.0_121
- ....
### Anything else
_No response_
### Are you willing to submit a PR?
- [x] Yes I am willing to submit a PR!
Contributor guide
Assessment
This issue has not been assessed yet.