Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13188

java.lang.ArithmeticException issue in BoundedByteBufferPool.putBuffer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0, 2.0.0
    • None
    • None

    Description

      Running a range scan with PE tool with 25 threads getting this error

      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)
      

      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.

      Attachments

        1. HBASE-13188.patch
          1.0 kB
          ramkrishna.s.vasudevan

        Issue Links

          Activity

            People

              ram_krish ramkrishna.s.vasudevan
              ram_krish ramkrishna.s.vasudevan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: