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

All the analyze table statements are failing on encryption testing framework

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      To reproduce, in recent q test environment, create a q file

      drop table IF EXISTS unencryptedTable;
      create table unencryptedTable(key string, value string);
      insert into table unencryptedTable values
          ('501', 'val_501'),
          ('502', 'val_502');
      analyze table unencryptedTable compute statistics;
      explain select * from unencryptedTable;
      

      Then run with TestEncryptedHDFSCliDriver.
      analyze table will generate a MapRed task and a StatsTask. The MapRed task will fail silently without generating the stats, e.g., numRows for the table. And the following StatsTask can not read any results. This will fail not only for encrypted tables but also non-encrypted one as shown above.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pxiong Pengcheng Xiong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: