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

windows:Need to set hbase jars in hadoop classpath explicitly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None

    Description

      n windows, when I run following hive-hbase integration test without setting hbase jars in hadoop classpath, it fails with ClassNotFoundException:
      drop table if exists hbase_1;
      create table hbase_1(key string, age int) stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' with serdeproperties ( "hbase.columns.mapping" = "info:age");
      insert overwrite table hbase_1 select name, SUM(age) from studenttab10k group by name;
      However, in linux this test works even if jars are not explicitly added in hadoop_classpath.
      On windows, tests work fine if I add necessary hbase jars in classpath.

      Attachments

        1. HIVE-7354.1.patch
          0.9 kB
          Hari Sankar Sivarama Subramaniyan

        Activity

          People

            hsubramaniyan Hari Sankar Sivarama Subramaniyan
            hsubramaniyan Hari Sankar Sivarama Subramaniyan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: