Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hiveserver2.log "A Gauge with name [init_total_count_dbs] already exists. "

Hiveserver2.log "A Gauge with name [init_total_count_dbs] already exists. "

Cloudera Employee

Hi,

At my client side the hiveserver2.log is full with the following warning and error logs. Any hint to resolve this error?

WARN [HiveServer2-Handler-Pool: Thread-189030]: metrics2.CodahaleMetrics (CodahaleMetrics.java:addGauge(299)) - A Gauge with name [init_total_count_partitions] already exists. The old gauge will be overwritten, but this is not recommended

2017-01-12 11:19:33,425 ERROR [HiveServer2-Background-Pool: Thread-194286]: hdfs.KeyProviderCache (KeyProviderCache.java:createKeyProviderURI(87)) - Could not find uri with key [dfs.encryption.key.provider.uri] to create a keyProvider !!

2017-01-12 11:19:33,489 WARN [HiveServer2-Background-Pool: Thread-194286]: hive.log (MetaStoreUtils.java:updatePartitionStatsFast(352)) - Updating partition stats fast for: gpm_imerg_nrt_late_daily_agg

2017-01-12 11:19:33,490 WARN [HiveServer2-Background-Pool: Thread-194286]: hive.log (MetaStoreUtils.java:updatePartitionStatsFast(355)) - Updated size to 21373780

2017-01-12 11:20:15,663 WARN [HiveServer2-Handler-Pool: Thread-189030]: metrics2.CodahaleMetrics (CodahaleMetrics.java:addGauge(299)) - A Gauge with name [init_total_count_dbs] already exists. The old gauge will be overwritten, but this is not recommended

FYI: Hive HA is enabled in the cluster.

I appreciate for your help in advance!

Regards,

Hemanth

I have found few links to the .java files where the error is being generated. But no clue to fix the error :(

https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties https://cwiki.apache.org/confluence/display/Hive/Hive+Metrics https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/common/metrics/met...

4 REPLIES 4

Re: Hiveserver2.log "A Gauge with name [init_total_count_dbs] already exists. "

New Contributor

Hi Hemanth (@hpasumarthi)

This issue has been logged in the Apache Hive community:

https://issues.apache.org/jira/browse/HIVE-14765

It is currently under investigation for the root cause, and we will keep you updated on the progress.

Thanks,

@Darwin

Re: Hiveserver2.log "A Gauge with name [init_total_count_dbs] already exists. "

Rising Star

I've checked the link and looks like there is not a solution yet. Would you mind to clarify if I am wrong?

Regards!

Re: Hiveserver2.log "A Gauge with name [init_total_count_dbs] already exists. "

New Contributor

Any update on this?

Re: Hiveserver2.log "A Gauge with name [init_total_count_dbs] already exists. "

Contributor

Hi,

I am getting the same error and the Jira is still open. anyone has a workaround for this issue?