[
https://issues.apache.org/jira/browse/HIVE-10938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577613#comment-14577613
]
Pengcheng Xiong commented on HIVE-10938:
----------------------------------------
[~spena], more information: I actually deployed an encrypted real environment
myself over the weekend. In the real environment, the analyze table statement
works. Thus, the problem is related with the TestEncryptedHDFSCliDriver
framework. Thanks.
> 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)