You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/25 00:25:00 UTC
[jira] [Updated] (HIVE-23300) alter_partitions codahale mertric
does not close properly
[ https://issues.apache.org/jira/browse/HIVE-23300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-23300:
----------------------------------
Labels: pull-request-available (was: )
> alter_partitions codahale mertric does not close properly
> ---------------------------------------------------------
>
> Key: HIVE-23300
> URL: https://issues.apache.org/jira/browse/HIVE-23300
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: All Versions
> Reporter: Akash Katipally
> Assignee: Akash Katipally
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-23300.1.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Hello,
>
> We were noticing in a rise in the number of alter partition calls in our metric dashboard. Upon further investigation, it seems like we do not close the call properly. Here is the error.
>
> {code:java}
> org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics Scope named api_alter_partitions is not closed, cannot be opened.
> {code}
> The piece of line that looks incorrect is here:
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L5542]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)