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

FileSinkOperator should remove duplicated files from the same task based on file sizes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • Query Processor
    • None

    Description

      FileSinkOperator.jobClose() calls Utilities.removeTempOrDuplicateFiles() to retain only one file for each task. A task could produce multiple files due to failed attempts or speculative runs. The largest file should be retained rather than the first file for each task.

      Attachments

        1. HIVE-1492_branch-0.6.patch
          2 kB
          Ning Zhang
        2. HIVE-1492.patch
          3 kB
          Ning Zhang

        Activity

          People

            nzhang Ning Zhang
            nzhang Ning Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: