You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/02/02 05:54:00 UTC

[jira] [Commented] (HBASE-25542) Add client detail to scan name so when lease expires, we have clue on who was scanning

    [ https://issues.apache.org/jira/browse/HBASE-25542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276867#comment-17276867 ] 

Duo Zhang commented on HBASE-25542:
-----------------------------------

I think when logging this line, we have a RegionScannerHolder at region server side? Just record the client name in the RegionScannerHolder and log it out?

> Add client detail to scan name so when lease expires, we have clue on who was scanning
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-25542
>                 URL: https://issues.apache.org/jira/browse/HBASE-25542
>             Project: HBase
>          Issue Type: Improvement
>          Components: scan
>    Affects Versions: 2.3.2
>            Reporter: Michael Stack
>            Priority: Major
>
> On a busy cluster, seeing a bunch of this:
> {code}
> regionserver.RSRpcServices: Scanner -5594731657924732088 lease expired on region hbase:meta,,1.1588230740
> {code}
> Trying to figure out originator is a little tough; there isn't enough in for in the above.
> scanid is a long but scan name is a string.. perhaps add in the client ip+port as scan id prefix? Or add the info to the value -- probably better -- and dump it out when we get one of these expirations?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)