Uh oh!
There was an error while loading. Please reload this page.
[SPARK-23854] Update Guava to 16.0.1 - #20966
Conversation
Update the version of Guava to a more recent one. HashCodes has been deprecated in favor of HashCode.
hvanhovell
commented
Apr 3, 2018
@Fokko upgrading guava has been notoriously hard to do, it is used in a lot Spark's dependencies and the guava developers aggressively remove deprecated APIs; updating can easily break stuff (missing methods that sort of thing). I am not saying that we shouldn't do this, I am just saying that we should be super careful and that a minor release (2.4) of Spark might not be the best time. cc @JoshRosen@srowen who might be able to shed a bit more light on this. |
srowen
commented
Apr 3, 2018
Agree, this is the problem. If there is no actual improvement or fix in the upgrade here, no value in doing this. |
AmplabJenkins
commented
Apr 3, 2018
Can one of the admins verify this patch? |
Fokko
commented
Apr 4, 2018
I think we should start updating Guava in small steps. In some of the application that I'm using, we're up to date at Hadoop 2.6.5 is still on Jersey is running on a repackaged Guava: The rest is also still on |
hvanhovell
commented
Apr 4, 2018
@Fokko you are kind of making my point here. Those dependencies rely on unshaded guava, if we upgrade our dependency then we might have to update those dependencies as well, which is probably not feasible. Why - besides it being old - should we update? |
Closesapache#20458Closesapache#20530Closesapache#20557Closesapache#20966Closesapache#20857Closesapache#19694Closesapache#18227Closesapache#20683Closesapache#20881Closesapache#20347Closesapache#20825Closesapache#20078Closesapache#21281Closesapache#19951Closesapache#20905Closesapache#20635 Author: Sean Owen <srowen@gmail.com> Closesapache#21303 from srowen/ClosePRs.
Currently Spark is still on Guava 14.0.1, and therefore I would like to bump the version to 16.0.1.
Babysteps are important here, because we don't want to become incompatible with other technology stacks, but 14.0.1 is getting old. HashCodes has been deprecated in favor of HashCode.
https://issues.apache.org/jira/projects/SPARK/issues/SPARK-23854
What changes were proposed in this pull request?
To stay compatible with the software that uses a later version of Guava.
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Running the testsuite
Please review http://spark.apache.org/contributing.html before opening a pull request.