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

FileSystem should expose some performance characteristics for caller (e.g., FsShell) to choose the right algorithm.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.6.0
    • None
    • tools
    • None

    Description

      When running hadoop fs -put, FsShell creates a .COPYING. file on the target directory, and then renames it to target file when the write is done. However, for some targeted systems, such as S3, Azure and Swift, a partial failure write request (i.e., PUT) has not side effect, while the rename operation is expensive.

      FileSystem should expose some characteristics so that the operation such as CommandWithDestination#copyStreamToTarget() can detect and choose the right way to do.

      Attachments

        1. HADOOP-11525.000.patch
          8 kB
          Lei (Eddy) Xu

        Issue Links

          Activity

            People

              eddyxu Lei (Eddy) Xu
              eddyxu Lei (Eddy) Xu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: