hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shashikant Banerjee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-372) There are three buffer copies in BlockOutputStream
Date Mon, 08 Apr 2019 19:51:00 GMT

    [ https://issues.apache.org/jira/browse/HDDS-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812738#comment-16812738
] 

Shashikant Banerjee commented on HDDS-372:
------------------------------------------

The test failures reported are not related to the patch. The client test failures reported
should be addressed with HDDS-1373.

> There are three buffer copies in BlockOutputStream
> --------------------------------------------------
>
>                 Key: HDDS-372
>                 URL: https://issues.apache.org/jira/browse/HDDS-372
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Client
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Shashikant Banerjee
>            Priority: Major
>         Attachments: HDDS-372.001.patch, HDDS-372.002.patch, HDDS-372.003.patch, HDDS-372.004.patch,
HDDS-372.005.patch, HDDS-372.20180829.patch
>
>
> Currently, there are three buffer copies in ChunkOutputStream
>  # from byte[] to ByteBuffer, and
>  # from ByteBuffer to ByteString.
>  # from ByteString to ByteBuffer for checskum computation
> We should eliminate the ByteBuffer in the middle.
> For zero copy io, we should support WritableByteChannel instead of OutputStream. It won't
be done in this JIRA.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message