[
https://issues.apache.org/jira/browse/HIVE-23300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jakob Homan reassigned HIVE-23300:
----------------------------------
Assignee: Akash Katipally
> 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
> Attachments: HIVE-23300.1.patch
>
> Time Spent: 10m
> 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)