Sigma-Ma commented on PR #8489:
URL: https://github.com/apache/hbase/pull/8489#issuecomment-7094474409

   > Hi, [@PDavid](https://github.com/PDavid), I agree we should avoid calling 
`Message.toString()` on the heartbeat path. One concern is that this also 
changes what operators see under **Tasks → Show Active RPC Calls → View as 
JSON**.
   > 
   > For example, I checked a running `Scan` RPC with a 22-byte request. Its 
`rpcCall.params` showed `scanner_id`, `number_of_rows`, and `next_call_seq`. 
Those fields let us tell which scanner was fetching its next batch and how many 
rows it requested. After this change, `params` only says `["ScanRequest"]`, 
which adds little beyond the existing `method: "Scan"`.
   
   Hello, @liuxiaocs7. I agree those scanner fields are useful for debugging.
   
   I propose skipping RPC parameter formatting for RegionServer heartbeat 
snapshots and keeping the existing parameter details for small requests in the 
Web UI JSON view. For larger requests, the UI would show the message type and 
packet length.
   
   Does that sound reasonable? What serialized-size cutoff would make sense?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to