-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[DSIP-27] Deprecate write java code in JAVA task #15819
Comments
LGTM |
The DSIP has been added to OSPP, no further development needs to be specified. |
How about this
|
Why can this be added to OSPP so casually? OSPP has a very long end time, which will block releases. |
I apologize for not explaining in advance. Initially, I thought it wasn't a highly important feature, just a few versions of delay. |
LGTM, In addition, We should be cautious about adding new tasks in the future, and try to receive enough votes and requests to add new tasks. |
Please assign to me |
Search before asking
Motivation
Right now, we support two kind of usage of JAVA tasks,
The first type is JAVA, user can write java code, once the worker receive this kind of task, it will compile the java code to class, and then execute the class file.
The second type is JAR, user can submit a fat jar, once the worker receive this kind of task, it will directly execute the fat jar.
This issue is want to remove the first type of JAVA task, since this is more like a demo, no one will submit java code, and in most of the time, the java application is not written within one file.
So we only need to support submit Jar.
Design Detail
Further more, we would better support user submit jars rather than a fat jar. The command may look like below, this should be more usefully
So we need to change the current task mode into:
Fat JAR
,NORMAL JAR
Compatibility, Deprecation, and Migration Plan
This is not compatible with the current version.
Test Plan
Add unit test.
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: