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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to