-
Notifications
You must be signed in to change notification settings - Fork 28.9k
SPARK-12868: Allow Add jar to add jars from hdfs/s3n urls. #14720
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
Conversation
|
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need {}?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
66dfb69 to
078f05a
Compare
|
Can one of the committers take a look at this PR? |
1 similar comment
|
Can one of the committers take a look at this PR? |
|
Request for review one more time. |
|
Ping. |
|
Request for review. |
|
@srowen would this make sense to you? |
| val testJar = "hdfs://nn:8020/foo.jar" | ||
| // This should fail with unknown host, as its just testing the URL parsing | ||
| // before SPARK-12868 it was failing with Malformed URI | ||
| val e = intercept[RuntimeException] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this test should be improved before merging this. Looking for a RuntimeException to validate that the Jar was registered is brittle and can easily pass when the registration doesn't actually work.
|
Hi @Parth-Brahmbhatt, is it still active? If so is there any argument against #14720 (comment)? |
|
It has been fixed by #17342. |
|
I will propose to close this after a week if it is still inactive or no objection to ^. |
|
closing. |
What changes were proposed in this pull request?
Add jar command fails when given s3n or hdfs urls. This changes fixes that.
How was this patch tested?
unit test added, it was just copied from a previously opened PR #10797 so credit should be given to the person who originally posted the patch.