[jira] [Commented] (HBASE-27486) HTable MetricsTableLatencies not remove trigger memory leak

2023-03-08 Thread Bryan Beaudreault (Jira)


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

Bryan Beaudreault commented on HBASE-27486:
---

This was resolved by HBASE-27681, but that can't be directly backported to 
2.4.x or 2.5.x because it incompatible changes to metric names/organization. It 
will come with 2.6.0 when that's released. One could theoretically do a 
targeted backport of just the registry changes of that jira, without the 
renames. Would require a bit of work.

> HTable MetricsTableLatencies not remove trigger memory leak 
> 
>
> Key: HBASE-27486
> URL: https://issues.apache.org/jira/browse/HBASE-27486
> Project: HBase
>  Issue Type: Bug
>  Components: metrics, regionserver
>Affects Versions: 2.0.0
>Reporter: Moran
>Priority: Major
>
> MetricsTableLatenciesImpl  histogramsByTable only put but not remove.Maybe we 
> should remove it when table disabled.
> supplement:
> MetricsTableQueryMeterImpl metersByTable has the same problem.
> Recurrence steps:
>  # create table: create 'student','data'
>  # write data: put 'student','2015001','data:name','Zhangsan'
>  # disable table: disable 'student'
>  # drop table: drop 'student'
>  # visit regionserver:port/jmx
>  # search Namespace_default_table_student_metric
> Table is deleted, the latency data of the deleted table always in the /jmx 
> endpoint.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27486) HTable MetricsTableLatencies not remove trigger memory leak

2022-11-16 Thread Moran (Jira)


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

Moran commented on HBASE-27486:
---

I am testing 2.4.15 and research various metric data. When I delete a table, I 
can still see the latency data of the deleted table in the /jmx endpoint.I 
don't know whether the design is like this or the handling is omitted.I read 
source code of historical version and found that this problem always exists, so 
I marked 2.0.0.

> HTable MetricsTableLatencies not remove trigger memory leak 
> 
>
> Key: HBASE-27486
> URL: https://issues.apache.org/jira/browse/HBASE-27486
> Project: HBase
>  Issue Type: Bug
>  Components: metrics, regionserver
>Affects Versions: 2.0.0
>Reporter: Moran
>Priority: Major
>
> MetricsTableLatenciesImpl  histogramsByTable only put but not remove.Maybe we 
> should remove it when table disabled.
> supplement:
> MetricsTableQueryMeterImpl metersByTable has the same problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27486) HTable MetricsTableLatencies not remove trigger memory leak

2022-11-16 Thread Josh Elser (Jira)


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

Josh Elser commented on HBASE-27486:


Nope. I'd suggest you try to write a unit test to demonstrate this happening if 
you plan to fix it. Related, if you're still using HBase 2.0, I think you have 
much larger problems as that has been EOL for quite some time.

> HTable MetricsTableLatencies not remove trigger memory leak 
> 
>
> Key: HBASE-27486
> URL: https://issues.apache.org/jira/browse/HBASE-27486
> Project: HBase
>  Issue Type: Bug
>  Components: metrics, regionserver
>Affects Versions: 2.0.0
>Reporter: Moran
>Priority: Major
>
> MetricsTableLatenciesImpl  histogramsByTable only put but not remove.Maybe we 
> should remove it when table disabled.
> supplement:
> MetricsTableQueryMeterImpl metersByTable has the same problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-27486) HTable MetricsTableLatencies not remove trigger memory leak

2022-11-15 Thread Moran (Jira)


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

Moran commented on HBASE-27486:
---

[~elserj] Do you have any suggestions or ideas?

> HTable MetricsTableLatencies not remove trigger memory leak 
> 
>
> Key: HBASE-27486
> URL: https://issues.apache.org/jira/browse/HBASE-27486
> Project: HBase
>  Issue Type: Bug
>  Components: metrics, regionserver
>Affects Versions: 2.0.0
>Reporter: Moran
>Priority: Major
>
> MetricsTableLatenciesImpl  histogramsByTable only put but not remove。Maybe we 
> should remove it when table disabled。
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)