Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21342

Analyze compute stats for column leave behind staging dir on hdfs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.2, 3.2.0, 4.0.0-alpha-1
    • Hive
    • None
    • hive-3.1

    Description

      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

      Attachments

        1. HIVE-21342.02.patch
          1 kB
          Rajkumar Singh
        2. HIVE-21342.patch
          1 kB
          Rajkumar Singh

        Activity

          People

            Rajkumar Singh Rajkumar Singh
            Rajkumar Singh Rajkumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: