You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Akash Katipally (Jira)" <ji...@apache.org> on 2020/04/25 14:03: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 ]

Akash Katipally updated HIVE-23300:
-----------------------------------
    Description: 
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]

> 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: 2.3.6, 2.3.7
>            Reporter: Akash Katipally
>            Priority: Major
>
> 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)