cchenax commented on pull request #3118:
URL: https://github.com/apache/ozone/pull/3118#issuecomment-1050636165


   > When you get the error:
   > 
   > ```
   > Error: org.apache.hadoop.HadoopIllegalArgumentException: Invalid buffer, 
remaining is 354944not of length 1048576
   > at 
org.apache.ozone.erasurecode.rawcoder.ByteBufferEncodingState.checkBuffers(ByteBufferEncodingState.java:101)
   > ```
   > 
   > Is there a full stack trace logged anywhere, so we can see the the calls 
leading up to this problem?
   > 
   > I am not sure if the problem is an issue with the padding, rather than 
some other issue that is not setting the initial buffer capacity correctly.
   
   maybe, but I think it should use the max length to limit the buffer.if 
capacity is 1048576, but the databuffer is 1050000, so the parityCellSize is 
1424, so when addpadding,it limit 1424, so I think it is a problem


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to