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

Hive/HBase integration could be improved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.7.1, 0.8.0, 0.9.0
    • 0.12.0
    • CLI, Clients, HBase Handler
    • 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 have the code at submit time call hbase's
      TableMapREduceUtil.addDependencyJar(job, HBaseStorageHandler.class) to ship it in distributedcache.

      Attachments

        1. HIVE-2379.D7347.1.patch
          10 kB
          Phabricator
        2. HIVE-2379.D7347.2.patch
          10 kB
          Phabricator
        3. HIVE-2379.D7347.3.patch
          11 kB
          Phabricator
        4. HIVE-2379-0.11.patch.txt
          12 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              rvs Roman Shaposhnik
              Votes:
              4 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: