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

Add more details in log when UnknownScannerException thrown in ScannerCallable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 0.98.24, 2.0.0
    • Component/s: Operability
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently if we try to close an already closed scanner, we may see below warning log which is useless for debugging:

      2016-06-23 01:21:21,101 WARN [main] org.apache.hadoop.hbase.client.ScannerCallable: Ignore, probably already closed
      org.apache.hadoop.hbase.UnknownScannerException: org.apache.hadoop.hbase.UnknownScannerException: Name: 18706910, already closed?
          at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2304)
          at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32205)
          at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2188)
          at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:102)
          at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
          at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
      

      and here we propose to add more details about the scan in log.

        Attachments

        1. HBASE-17211.patch
          0.8 kB
          Yu Li

          Issue Links

            Activity

              People

              • Assignee:
                liyu Yu Li
                Reporter:
                liyu Yu Li
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: