You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/10/05 01:14:01 UTC

[GitHub] [hadoop] szetszwo commented on issue #1517: HDDS-2169. Avoid buffer copies while submitting client requests in Ratis

szetszwo commented on issue #1517: HDDS-2169. Avoid buffer copies while submitting client requests in Ratis
URL: https://github.com/apache/hadoop/pull/1517#issuecomment-538603606
 
 
   > ...  I tried to run the tests in TestDataValidateWithUnsafeByteOperations and i see the following exception being thrown: ...
   
   Thanks @bshashikant.  That is a bug in  ChunkUtils
   ```
    // ChunkUtils.writeData(..)
       int bufferSize = data.capacity();
   ```
   It should call data.remaining() instead of data.capacity().

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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