Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36282

Spark ThriftServer does not search hive external table which storage in hbase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.1
    • None
    • SQL
    • None

    Description

      hive version is 2.3.3, hbase version is 2.4.2;

      CREATE EXTERNAL TABLE `temp.mapping_from_hbase`(
      `tuid` string COMMENT '',
      `index` int COMMENT '')
      ROW FORMAT SERDE
      'org.apache.hadoop.hive.hbase.HBaseSerDe'
      STORED BY
      'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
      WITH SERDEPROPERTIES (
      'hbase.columns.mapping'=':key,info:index',
      'serialization.format'='1')
      TBLPROPERTIES (
      'hbase.mapred.output.outputtable'='x:tuid_to_index',
      'hbase.table.name'='x:tuid_to_index',
      'transient_lastDdlTime'='1626835726')

      When I use spark version 2.4.3 to search temp.mapping_from_hbase which can find it, but use spark version 3.0.1 can not do it.

      Attachments

        1. screenshot-1.png
          362 kB
          Yu Wang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuwang0917@gmail.com Yu Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: