dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Improvement][Create Workflow] The Java node in the workflow supports JShell as a run type.

Open slieer opened this issue 2 months ago • 1 comments

Search before asking

  • [x] I had searched in the issues and found no similar feature requirement.

Description

Using NORMAL_JAR or FAT_JAR is very powerful, but it can be a bit cumbersome at times. It would be great if we could support running a snippet of JShell code.

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

slieer avatar Sep 11 '26 03:09 slieer

Hi, I’d like to work on this issue.

I’d like to investigate extending the existing Java task execution flow to support a JShell run type, while keeping the existing NORMAL_JAR and FAT_JAR modes unchanged.

I’ll also look into the appropriate validation, execution behavior, error handling, and regression tests for the new run type.

If this approach looks reasonable, I’d be happy to work on the implementation and submit a PR.

abhiramaab avatar Sep 12 '26 11:09 abhiramaab