[ 
https://issues.apache.org/jira/browse/HIVE-21342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesus Camacho Rodriguez updated HIVE-21342:
-------------------------------------------
    Fix Version/s: 3.1.2
                   3.2.0

> Analyze compute stats for column leave behind staging dir on hdfs
> -----------------------------------------------------------------
>
>                 Key: HIVE-21342
>                 URL: https://issues.apache.org/jira/browse/HIVE-21342
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.1.0
>         Environment: hive-3.1
>            Reporter: Rajkumar Singh
>            Assignee: Rajkumar Singh
>            Priority: Major
>             Fix For: 4.0.0, 3.2.0, 3.1.2
>
>         Attachments: HIVE-21342.02.patch, HIVE-21342.patch
>
>
> staging dir cleanup does not happen for the "analyze table .. compute 
> statistics for columns", this leads to stale directory on hdfs.
> the problem seems to be with ColumnStatsSemanticAnalyzer which don't have 
> hdfscleanup set for the context.
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/parse/ColumnStatsSemanticAnalyzer.java#L310



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to