apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.8k stars 4.6k forks source link

[Bug] [sqoop] worker image needs jdk to run sqoop task #11592

Closed rickchengx closed 2 years ago

rickchengx commented 2 years ago

Search before asking

What happened

To run sqoop task, the dolphinscheduler-worker needs jdk.

See log below:

2022-08-18 11:46:53,095 ERROR orm.CompilationManager: It seems as though you are running sqoop with a JRE.
    2022-08-18 11:46:53,095 ERROR orm.CompilationManager: Sqoop requires a JDK that can compile Java code.
    2022-08-18 11:46:53,095 ERROR orm.CompilationManager: Please install a JDK and set $JAVA_HOME to use it.
    2022-08-18 11:46:53,096 ERROR tool.ImportTool: Import failed: java.io.IOException: Could not start Java compiler.

What you expected to happen

The Dockerfile of worker needs to include jdk

How to reproduce

Run DS in a k8s cluster through Helm

Anything else

No response

Version

3.0.0

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 2 years ago

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.