Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11694 Über-jira: S3a phase II: robustness, scale and performance
  3. HADOOP-14081

S3A: Consider avoiding array copy in S3ABlockOutputStream (ByteArrayBlock)

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha4
    • Component/s: fs/s3
    • Labels:
      None

      Description

      In S3ADataBlocks::ByteArrayBlock, data is copied whenever startUpload is called. It might be possible to directly access the byte[] array from ByteArrayOutputStream.

      Might have to extend ByteArrayOutputStream and create a method like getInputStream() which can return ByteArrayInputStream. This would avoid expensive array copy during large upload.

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              rajesh.balamohan Rajesh Balamohan Assign to me
              Reporter:
              rajesh.balamohan Rajesh Balamohan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment