apache / apache/dolphinscheduler

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

Open
#18,631 1 comment 0 reactions 0 assignees View on GitHub
help wanted improvement
Dominant language
Java
Stars
14.5k
Forks
5.1k
Avg merge
1d 21h
Merged PRs (30d)
29

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) 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

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Research direction

Start by locating the Java node implementation and the existing NORMAL_JAR and FAT_JAR run types, then inspect how their options are exposed and executed. Add JShell as a selectable run type that executes a code snippet, and verify the Java node's existing tests or workflow execution path covers the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.