Description
Hive was having a newer version of httpclient and httpcore since 1.2.0 (HIVE-9709), when compared to Hadoop 2.x versions, to be able to make use of newer apis in httpclient 4.4.
There was security issue in the older version of httpclient and httpcore that hadoop was using, and as a result moved to httpclient 4.5.2 and httpcore 4.4.4 (HADOOP-12767).
As hadoop was using the older version of these libraries and they often end up earlier in the classpath, we have had bunch of difficulties in different environments with class/method not found errors.
Now, that hadoops dependencies in versions with security fix are newer and have the API that hive needs, we can be on the same version. For older versions of hadoop this version update doesn't matter as the difference is already there.
Attachments
Attachments
Issue Links
- is duplicated by
-
HIVE-21374 Dependency conflicts on org.apache.httpcomponents:httpcore:jar, leading to invoking unexpected methods
- Resolved
- is related to
-
HADOOP-12767 update apache httpclient version to 4.5.2; httpcore to 4.4.4
- Resolved
-
HIVE-9709 Hive should support replaying cookie from JDBC driver for beeline
- Closed