rickchengx opened a new issue, #11592:
URL: https://github.com/apache/dolphinscheduler/issues/11592

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### 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?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

To unsubscribe, e-mail: 
[email protected]

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

Reply via email to