[ 
https://issues.apache.org/jira/browse/HBASE-27486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Moran updated HBASE-27486:
--------------------------
    Description: 
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.

  was:
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


> 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)

Reply via email to