[jira] [Updated] (HBASE-13188) java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer
[ https://issues.apache.org/jira/browse/HBASE-13188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-13188: --- Fix Version/s: (was: 0.98.12) 0.98.13 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, 0.98.13 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)
[jira] [Updated] (HBASE-13188) java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer
[ https://issues.apache.org/jira/browse/HBASE-13188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-13188: -- Resolution: Not a Problem Fix Version/s: (was: 0.98.13) 0.98.12 Status: Resolved (was: Patch Available) Yes, you are right [~ram_krish] Let me resolve as 'not a problem'. 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, 0.98.12 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)
[jira] [Updated] (HBASE-13188) java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer
[ https://issues.apache.org/jira/browse/HBASE-13188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-13188: -- Fix Version/s: (was: 0.98.12) Hmm.. You are right [~ram_krish]. It is not a problem for 0.98 but this issue covered 'fixes' for 1.1 and 2.0. I can't change the resolution post-facto. Ugh. Removed 0.98 from list of fix versions. 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)
[jira] [Updated] (HBASE-13188) java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer
[ https://issues.apache.org/jira/browse/HBASE-13188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-13188: -- Fix Version/s: 0.98.12 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, 0.98.12 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)
[jira] [Updated] (HBASE-13188) java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer
[ https://issues.apache.org/jira/browse/HBASE-13188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-13188: --- Attachment: HBASE-13188.patch Simple patch. The issue is that before we do this.buffers.size() there could be a getBuffer() call emptying the queue. So this size may be 0. So when ever the size is 0 - the avg would be 0. Hope that is right? 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)
[jira] [Updated] (HBASE-13188) java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer
[ https://issues.apache.org/jira/browse/HBASE-13188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-13188: --- Status: Patch Available (was: Open) 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)