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

Unable to read data with Hbase snapshot set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HBase Handler
    • Labels:
      None

      Description

      1. CREATE TABLE foo(rowkey STRING, a STRING ) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' WITH SERDEPROPERTIES ('hbase.columns.mapping' = ':key,f:c1') TBLPROPERTIES ('hbase.table.name' = 'foo');
      2. insert into foo values('row0','0'),('row1','1'),('row2','2');
      3. Move To Hbase-shell
      4. hbase(main):002:0> snapshot 'foo','testing'
      5. set hive.hbase.snapshot.name=testing;
      6. select count FROM foo WHERE rowkey = 'row0';

      This should return 1, but doesn't

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ayushtkn Ayush Saxena
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: