Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5395

write(ByteBuffer) method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.7.3, 3.0.0-alpha4
    • None
    • hdfs-client
    • None

    Description

      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.

      Attachments

        1. HDFS-5395.02.patch
          2 kB
          Bharat Viswanadham
        2. HDFS-5395.01.patch
          2 kB
          Bharat Viswanadham

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              john.lilley@redpoint.net john lilley
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: