/api/stats/region_clients

Returns information about the various HBase region server clients in AsyncHBase. This helps to identify issues with a particular region server. (v2.2)

Verbs

  • GET

Requests

No parameters available.

Example Request

Query String

  1. http://localhost:4242/api/stats/region_clients

Response

The response is an array of objects. Fields in the response include:

Name

Data Type

Description

Example

pendingBreached

Integer

The total number of times writes to a new region client were discarded because it’s pending RPC buffer was full. This should almost always be zero and a positive value indicates the TSD took a long time to connect to a region server.

0

writesBlocked

Integer

How many RPCs (batched or individual) in total were blocked due to the connection’s send buffer being full. A positive value indicates a slow HBase server or poor network performance.

0

inflightBreached

Integer

The total number of times RPCs were blocked due to too many outstanding RPCs waiting for a response from HBase. A positive value indicates the region server is slow or network performance is poor.

0

dead

Boolean

Whether or not the region client is marked as dead due to a connection close event (such as region server going down)

false

rpcsInFlight

Integer

The current number of RPCs sent to HBase and awaiting a response.

10

rpcsSent

Integer

The total number of RPCs sent to HBase.

424242

rpcResponsesUnknown

Integer

The total number of responses received from HBase for which we couldn’t find an RPC. This may indicate packet corruption or an incompatible HBase version.

0

pendingBatchedRPCs

Integer

The number of RPCs queued in the batched RPC awaiting the next flush or the batch limit.

0

endpoint

String

The IP and port of the region server in the format ‘/<ip>:<port>’

/127.0.0.1:35008

rpcResponsesTimedout

Integer

The total number of responses from HBase for RPCs that have previously timedout. This means HBase may be catching up and responding to stale RPCs.

0

rpcid

Integer

The ID of the last RPC sent to HBase. This may be a negative number

42

rpcsTimedout

Integer

The total number of RPCs that have timed out. This may indicate a slow region server, poor network performance or GC issues with the TSD.

0

pendingRPCs

Integer

The number of RPCs queued and waiting for the connection handshake with the region server to complete

0

Example Response

  1. [
  2. {
  3. "pendingBreached": 0,
  4. "writesBlocked": 0,
  5. "inflightBreached": 0,
  6. "dead": false,
  7. "rpcsInFlight": 0,
  8. "rpcsSent": 35704,
  9. "rpcResponsesUnknown": 0,
  10. "pendingBatchedRPCs": 452,
  11. "endpoint": "/127.0.0.1:35008",
  12. "rpcResponsesTimedout": 0,
  13. "rpcid": 35703,
  14. "rpcsTimedout": 0,
  15. "pendingRPCs": 0
  16. }
  17. ]