You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Rajesh Balamohan (JIRA)" <ji...@apache.org> on 2017/06/28 22:36:00 UTC

[jira] [Created] (HADOOP-14612) Reduce memory copy in BlobOutputStreamInternal::dispatchWrite

Rajesh Balamohan created HADOOP-14612:
-----------------------------------------

             Summary: Reduce memory copy in BlobOutputStreamInternal::dispatchWrite
                 Key: HADOOP-14612
                 URL: https://issues.apache.org/jira/browse/HADOOP-14612
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/azure
            Reporter: Rajesh Balamohan
            Priority: Minor


Currently in {{BlobOutputStreamInternal::dispatchWrite}}, buffer is copied internally for every write. During large uploads this can be around 4 MB. This can be avoided if there is internal class which extends ByteArrayOutputStream with additional method "ByteArrayInputStream getInputStream()".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org