[Fix-18177][Task Plugin] Fix AliyunServerlessSpark plugin dependency conflicts and improve exception handling#18180
Open
includetts wants to merge 12 commits intoapache:devfrom
Open
Conversation
…de datasource plugin emr SDK to 2.4.1 and credentials-java to 1.0.1
SbloodyS
requested changes
Apr 19, 2026
Member
|
Please don't create PR repeatedly, which will increase the work of reviewer. |
Author
|
Hi @SbloodyS, thanks for the review! I've addressed your feedback:
|
SbloodyS
reviewed
Apr 20, 2026
Update exception message to include the exception object instead of the message.
Remove exception message concatenation for clarity.
Member
|
You should run |
|
SbloodyS
reviewed
Apr 20, 2026
Comment on lines
+33
to
+34
| <emr-serverless-spark.version>2.4.1</emr-serverless-spark.version> | ||
| <credentials-java.version>1.0.1</credentials-java.version> |
Member
There was a problem hiding this comment.
It's bettter to put it in bom for unified management.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Was this PR generated or assisted by AI?
NO
Purpose of the pull request
Fix two critical dependency version bugs that cause
NoSuchMethodErrorandNoSuchFieldErrorat runtime when using the AliyunServerlessSpark task plugin, and improve exception handling to preserve root cause information for debugging.Closes #18177 Closes #18178
Brief change log
emr_serverless_spark20230808from1.0.0to2.4.1in datasource plugin to match task plugin versioncredentials-javafrom0.3.0to1.0.1in both datasource and task plugins to satisfytea-openapi:0.3.8requirementbuildClient,startJobRun,cancelJobRun) inAliyunServerlessSparkTask.javaVerify this pull request
Manually verified the change by testing locally:
Client.getTemplate()method exists in datasource plugin shade jarCredentialModel.providerNamefield present in both shade jars (credentials-java 1.0.1)Pull Request Notice
Pull Request Notice