[
https://issues.apache.org/jira/browse/HIVE-28173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krisztian Kasa resolved HIVE-28173.
-----------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Merged to master. Thanks [~scarlin] for the patch and [~dkuzmenko] for review.
> Issues with staging dirs with materialized views on HDFS encrypted table
> ------------------------------------------------------------------------
>
> Key: HIVE-28173
> URL: https://issues.apache.org/jira/browse/HIVE-28173
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 4.0.0
> Reporter: Steve Carlin
> Assignee: Steve Carlin
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> In the materialized view registry thread which runs in the background, there
> are 2 issues involving staging directories on hdfs encrypted tables
> 1) The staging directory is created at compile time. For non hdfs encrypted
> tables, the "mkdir" flag is set to false. There is no such flag for hdfs
> encrypted tables.
> 2) The "FileSystem.deleteOnFileExit()" method is not called from the
> HiveMaterializedViewRegistry thread.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)