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

Caroline edited comment on HBASE-25329 at 1/7/21, 12:47 AM:
------------------------------------------------------------

[~apurtell] [~vjasani] [~bharathv] Thanks for the feedback. I'll remove the 
metrics additions from the patches since this particular Jira concerns dumping 
RITs into the logs. Do you have any suggestions on how often we should be 
logging the RITs? 

For the idea of adding a /rit endpoint in master, I've created a Jira 
(https://issues.apache.org/jira/browse/HBASE-25469) to track it. Would love to 
hear suggestions about what info to expose on the endpoint. If someone could 
provide a servlet code example that would also be helpful, since I'm unfamiliar 
with them in this code base. Thanks!


was (Author: caroliney14):
[~apurtell] [~vjasani] [~bharathv] Thanks for the feedback. I'll remove the 
metrics additions from the patches since this particular Jira concerns dumping 
RITs into the logs. Do you have any suggestions on how often we should be 
logging the RITs? 

For the idea of adding a /rit endpoint in master, I've created a Jira to track 
it. Would love to hear suggestions about what info to expose on the endpoint. 
If someone could provide a servlet code example that would also be helpful, 
since I'm unfamiliar with them in this code base. Thanks!

> Dump region hashes in logs for the regions that are stuck in transition for 
> more than a configured amount of time
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-25329
>                 URL: https://issues.apache.org/jira/browse/HBASE-25329
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Caroline
>            Assignee: Caroline
>            Priority: Minor
>         Attachments: HBASE-25329.branch-1.000.patch, 
> HBASE-25329.branch-2.000.patch, HBASE-25329.master.000.patch
>
>
> We have metrics for number of RITs as well as number of RITs above a certain 
> threshold, but we don't have any way of keeping track of the region hashes of 
> those RITs. It would be beneficial to emit those region hashes as a metric, 
> as well as log them, so that we don't accidentally lose this information for 
> debugging the RIT at a later tiime.



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

Reply via email to