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

AliyunOSS: AliyunOSSFileSystem#open(Path path, int bufferSize) should use buffer size as its downloadPartSize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • fs/oss

    Description

      In our application, different components have their own suitable buffer size to download.

      But currently, AliyunOSSFileSystem#open(Path path, int bufferSize) just get downloadPartSize from configuration.

      We cannnot use different value for different components in our programs.

      I think we should the method should use the buffer size from the paramater.

      AliyunOSSFileSystem#open(Path path) could have default value as current default downloadPartSize.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              masteryhx Hangxiang Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: