Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5814

NativeS3FileSystem doesn't report progress when writing

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
    • Tags:
      hadoop common, S3Native

      Description

      This results in timeouts since the whole file is uploaded in the close method. See http://www.mail-archive.com/core-user@hadoop.apache.org/msg09881.html.

      One solution is to keep a reference to the Progressable passed in to the NativeS3FsOutputStream's constructor, and progress it during writes, and while copying the backup file to S3 in the close method.

        Attachments

        1. HADOOP-5814.patch
          14 kB
          Subroto Sanyal
        2. HADOOP-5814(1).patch
          18 kB
          Subroto Sanyal

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tomwhite Tom White
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: