Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13377 AliyunOSS: improvements for stabilization and optimization
  3. HADOOP-16306

AliyunOSS: Remove temporary files when upload small files to OSS

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0, 3.2.0, 2.9.2, 3.0.3, 3.3.0, 3.1.2
    • 2.10.0, 3.0.4, 3.3.0, 3.2.1, 2.9.3, 3.1.3
    • fs/oss
    • None
    • Reviewed

    Description

      Currently,  AliyunOSSBlockOutputStream will upload files to OSS directly instead of multi part upload if their size are less than configured part size(fs.oss.multipart.upload.size).

      When caller closes AliyunOSSBlockOutputStream, it will call  removePartFiles(), however, this method will only remove multi part temporary files, so this patch will fix case above.

      Attachments

        1. HADOOP-16306.002.patch
          5 kB
          wujinhu
        2. HADOOP-16306.001.patch
          5 kB
          wujinhu

        Activity

          People

            wujinhu wujinhu
            wujinhu wujinhu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: