Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-191

Hive/HBase integration requires manual addition of the extra jar files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH3u0
    • Fix Version/s: CDH4.0.0
    • Component/s: HBase, Hive, Packaging
    • Labels:
      None

      Description

      For now any Hive/HBase queries would require the following jars to be explicitly added via hive's add jar command:

      add jar /usr/lib/hive/lib/hbase-0.90.1-cdh3u0.jar;
      add jar /usr/lib/hive/lib/hive-hbase-handler-0.7.0-cdh3u0.jar;
      add jar /usr/lib/hive/lib/zookeeper-3.3.1.jar;
      add jar /usr/lib/hive/lib/guava-r06.jar;

      the longer term solution, perhaps, should be to either have the code at submit time call hbase's
      TableMapREduceUtil.addDependencyJar(job, HBaseStorageHandler.class) to ship it in distributedcache,
      or to bundle into hive-exec.jar

        Attachments

          Activity

            People

            • Assignee:
              rvs Roman V Shaposhnik
              Reporter:
              rvs Roman V Shaposhnik
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: