fix: [Task Plugin] Fix AliyunServerlessSpark plugin dependency conflicts and improve exception handling#18179
Open
includetts wants to merge 4 commits intoapache:devfrom
Open
Conversation
…datasource plugin emr SDK to 2.4.1 and credentials-java to 1.0.1 Updated dependencies and their versions in pom.xml for the Aliyun Serverless Spark datasource plugin.
…plugin credentials-java to 1.0.1
|
Thanks for opening this pull request! Please check out our contributing guidelines. (https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md) |
SbloodyS
requested changes
Apr 17, 2026
Member
SbloodyS
left a comment
There was a problem hiding this comment.
Please follow the pull request notice to use the correct title. And avoid unnecessary changes.
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