Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14455

upgrade httpclient, httpcore to match updated hadoop dependency

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None

      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

        1. HIVE-14455.1.patch
          0.9 kB
          Thejas M Nair
        2. HIVE-14455.1.patch
          0.9 kB
          Thejas M Nair

          Issue Links

            Activity

              People

              • Assignee:
                thejas Thejas M Nair
                Reporter:
                thejas Thejas M Nair
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: