[ https://issues.apache.org/jira/browse/HBASE-13188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14369261#comment-14369261 ]
Nicolas Liochon commented on HBASE-13188: ----------------------------------------- [~saint....@gmail.com] if you're interested, there is a ByteBufferPool in HBASE-9535. If I understand well 9535 is now irrelevant (please close it if it's the case), but may be there is some code to take there. > java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer > ---------------------------------------------------------------------- > > Key: HBASE-13188 > URL: https://issues.apache.org/jira/browse/HBASE-13188 > Project: HBase > Issue Type: Bug > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 2.0.0, 1.1.0 > > Attachments: HBASE-13188.patch > > > Running a range scan with PE tool with 25 threads getting this error > {code} > java.lang.ArithmeticException: / by zero > at > org.apache.hadoop.hbase.io.BoundedByteBufferPool.putBuffer(BoundedByteBufferPool.java:104) > at org.apache.hadoop.hbase.ipc.RpcServer$Call.done(RpcServer.java:325) > at > org.apache.hadoop.hbase.ipc.RpcServer$Responder.processResponse(RpcServer.java:1078) > at > org.apache.hadoop.hbase.ipc.RpcServer$Responder.processAllResponses(RpcServer.java:1103) > at > org.apache.hadoop.hbase.ipc.RpcServer$Responder.doAsyncWrite(RpcServer.java:1036) > at > org.apache.hadoop.hbase.ipc.RpcServer$Responder.doRunLoop(RpcServer.java:956) > at > org.apache.hadoop.hbase.ipc.RpcServer$Responder.run(RpcServer.java:891) > {code} > I checked in the trunk code also. I think the comment in the code suggests > that the size will not be exact so there is a chance that it could be even 0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)