You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2015/06/05 02:25:37 UTC

[jira] [Created] (HIVE-10938) All the analyze table statements are failing on encryption testing framework

Pengcheng Xiong created HIVE-10938:
--------------------------------------

             Summary: All the analyze table statements are failing on encryption testing framework
                 Key: HIVE-10938
                 URL: https://issues.apache.org/jira/browse/HIVE-10938
             Project: Hive
          Issue Type: Bug
            Reporter: Pengcheng Xiong


To reproduce, in recent q test environment, create a q file
{code}
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;
{code}
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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)