Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [dolphinscheduler-task-java] The jar type task script error of the java node causes a running error #15641

Closed
3 tasks done
yangyanh opened this issue Feb 27, 2024 · 3 comments · May be fixed by #15645
Closed
3 tasks done
Assignees
Labels
backend bug Something isn't working Stale

Comments

@yangyanh
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

java节点,选择jar类型,运行会报错:unnable to find jar

What you expected to happen

java节点,选择jar类型,产生的shell脚本有两个bug:
1、jar包路径重复了
2、当使用-jar参数后,-classpath参数指定的依赖包是无效的

How to reproduce

java节点,选择jar类型,配置完成后保存,上线,启动即可复现

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@yangyanh yangyanh added bug Something isn't working Waiting for reply Waiting for reply labels Feb 27, 2024
@github-actions github-actions bot changed the title [Bug] [dolphinscheduler-task-java] java节点的jar类型的任务脚本错误导致运行报错 [Bug] [dolphinscheduler-task-java] The jar type task script error of the java node causes a running error Feb 27, 2024
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Java node, select the jar type, and an error will be reported when running: unable to find jar

What you expected to happen

Java node, select jar type, the generated shell script has two bugs:

  1. The jar package path is repeated
  2. When the -jar parameter is used, the dependent package specified by the -classpath parameter is invalid.

How to reproduce

Java node, select the jar type, save it after the configuration is completed, go online, and start it to reproduce

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

yangyanh added a commit to yangyanh/dolphinscheduler that referenced this issue Feb 28, 2024
yangyanh added a commit to yangyanh/dolphinscheduler that referenced this issue Feb 28, 2024
@SbloodyS SbloodyS added backend and removed Waiting for reply Waiting for reply labels Feb 29, 2024
yangyanh added a commit to yangyanh/dolphinscheduler that referenced this issue Mar 1, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Mar 31, 2024
Copy link

github-actions bot commented Apr 7, 2024

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

@github-actions github-actions bot closed this as completed Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working Stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants