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

Accumulo introduces old hadoop-client dependency

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Build Infrastructure
    • Labels:
      None

      Description

      It was brought to my attention that Accumulo is transitively bringing in some artifacts with the wrong version of Hadoop.

      Accumulo-1.6.0 sets the Hadoop version at 2.2.0 and uses hadoop-client to get its necessary dependencies. Because there is no dependency with the correct version in Hive, this introduces hadoop-2.2.0 dependencies.

      A solution is to make sure that hadoop-client is set with the correct hadoop-20S.version or hadoop-23.version.

      Snippet from mvn dependency:tree -Phadoop-2

      [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ hive-accumulo-handler ---
      [INFO] org.apache.hive:hive-accumulo-handler:jar:0.14.0-SNAPSHOT
      [INFO] +- commons-lang:commons-lang:jar:2.6:compile
      [INFO] +- commons-logging:commons-logging:jar:1.1.3:compile
      [INFO] +- org.apache.accumulo:accumulo-core:jar:1.6.0:compile
      ...
      [INFO] |  +- org.apache.hadoop:hadoop-client:jar:2.2.0:compile
      [INFO] |  |  +- org.apache.hadoop:hadoop-hdfs:jar:2.4.0:compile
      ...
      

        Attachments

        1. HIVE-8257.1.patch
          2 kB
          Josh Elser
        2. HIVE-8257.2.patch
          2 kB
          Josh Elser

          Issue Links

            Activity

              People

              • Assignee:
                elserj Josh Elser
                Reporter:
                elserj Josh Elser
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: