You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2017/07/13 21:13:00 UTC

[jira] [Commented] (HDFS-5395) write(ByteBuffer) method

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

Bharat Viswanadham commented on HDFS-5395:
------------------------------------------

[~szetszwo] [~maidh91] Could you please have a look in to this patch. Thanks

> write(ByteBuffer) method
> ------------------------
>
>                 Key: HDFS-5395
>                 URL: https://issues.apache.org/jira/browse/HDFS-5395
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>    Affects Versions: 2.7.3, 3.0.0-alpha4
>            Reporter: john lilley
>            Assignee: Bharat Viswanadham
>            Priority: Minor
>         Attachments: HDFS-5395.01.patch
>
>
> It would be great to have a write(ByteBuffer) API in FSDataOutputStream, so that JNI callers could perform a write without making an extra copy.  The complementary read(ByteBuffer) call exists in FSDataInputStream, so this would seem to be an omission.



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

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