Anant Mittal commented on HIVE-18922:

It definitely happens with {{MERGE INTO}} queries. I tried some simple non 
merge queries and did not see the behavior. You are right, it might be specific 
to ACID but I cannot say for sure.

> Hive is not cleaning up  staging directories
> --------------------------------------------
>                 Key: HIVE-18922
>                 URL: https://issues.apache.org/jira/browse/HIVE-18922
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Anant Mittal
>            Priority: Major
> Hive is creating hdfs folders with format 
> <table_location>/.hive-staging_hive_<date>_<time>-xx/-ext-xxxxx
> These are not being cleaned up even after long duration. The folder is used 
> to load to the table. Example:
> Loading data to table default.tablename from 
> hdfs://clustermachine/apps/hive/warehouse/tablename/.hive-staging_hive_2018-01-31_11-45-14_005_1129336997995057804-51/-ext-10000
> This might be covered to some extent by HIVE-11940 but, want to make sure all 
> cases are addressed.

This message was sent by Atlassian JIRA

Reply via email to