You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Huang Meilong <im...@outlook.com> on 2018/08/22 09:15:43 UTC

how can I collect hive metastore metrics and hiveserver2 metrics separately

Hi all,


I found the configuration of collecting hive metrics here: https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-Metrics

Configuration Properties - Apache Hive - Apache Software ...<https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-Metrics>
cwiki.apache.org
This document describes the Hive user configuration properties (sometimes called parameters, variables, or options), and notes which releases introduced new properties. The canonical list of configuration properties is managed in the HiveConf Java class, so refer to the HiveConf.java file for a ...




To enable metastore and hiveserver2 metrics collection, I need to set `hive.metastore.metrics.enabled=true` and `hive.hiveserver2.metrics.enabled=true`, specify `hive.service.metrics.file.location` to set the location where the metrics to dump, but I found that the json file content changed alternately, does metastore metrics and hiveserver2 metrics dump to the same file alternately? How can I specify tow locations for metastore metrics and hiveserver2 metrics separately, I just want to collect these metrics separately.


Any suggestions are appreciated!


Thank you,

Huang.