-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-12972][CORE] update httpclient to 4.5.1 #10887
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
|
My major question is simply, does this break anything? the problem is that not all transitive dependencies use this version of the httpclient. Although I suspect it would be OK, assuming 4.5 is backwards-compatible with 4.3, and tests would help reveal problems (and you're going to have to update the dependencies file in the repo anyway to reflect the change), then this is substantially OK. Is there a particular fix we need in 4.5? One good thing to do is examine the current set of dependencies and evaluate all the different versions of this we use, and from where, and skim release notes to see if there are likely any breaking changes. Secondly, we probably need to clean up handling of this dependency more thoroughly. Version needs to be declared once in the parent, and we probably need to remove most if not all exclusions of this at this stage. They should be redundant, but that also bears thinking through. It's not a trivial exercise, but it would certainly help to study the state of this fairly important dependency and clean it up. We can tolerate a little breakage risk with Spark 2.x. |
|
I don't know if it breaks anything yet. I ran the tests locally, but I'm not sure how to tell if/how many tests failed. |
|
@srowen SPARK-11796 brought the Docker integration tests to 4.5. They still break depending on how they are run (in IntelliJ, for example). Until |
|
Tests on |
|
Test build #2449 has finished for PR 10887 at commit
|
|
I didn't know there was a dependency test. That helps! |
|
I'm on the verge of just publishing my own shaded |
|
Can one of the admins verify this patch? |
|
@blbradley are you interested in following up on this? this could be a good update for 2.0. This would need a rebase, and needs to also edit the "deps/*" files so we can see what dependencies changed. The thing I would be worried about is that the transitive dependency graph would still contain older versions of Commons Http-related artifacts, which may require a little more massaging. Conceptually, this is good though. |
looking to fix some dependency issues