hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <>
Subject [jira] [Commented] (HIVE-10761) Create codahale-based metrics system for Hive
Date Fri, 05 Jun 2015 09:20:00 GMT


Gopal V commented on HIVE-10761:

Setting {{hive.server2.metrics.enabled=true}} seems to trigger another error

2015-06-05 02:18:28,818 ERROR [main()]: server.HiveServer2 ( -
error in Metrics deinit: java.lang.NullPointerException null
        at org.apache.hive.service.server.HiveServer2.stop(
        at org.apache.hive.service.server.HiveServer2.startHiveServer2(
        at org.apache.hive.service.server.HiveServer2.access$700(
        at org.apache.hive.service.server.HiveServer2$StartOptionExecutor.execute(
        at org.apache.hive.service.server.HiveServer2.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(

> Create codahale-based metrics system for Hive
> ---------------------------------------------
>                 Key: HIVE-10761
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: Diagnosability
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>             Fix For: 1.3.0
>         Attachments: HIVE-10761.2.patch, HIVE-10761.3.patch, HIVE-10761.4.patch, HIVE-10761.5.patch,
HIVE-10761.6.patch, HIVE-10761.patch, hms-metrics.json
> There is a current Hive metrics system that hooks up to a JMX reporting, but all its
measurements, models are custom.
> This is to make another metrics system that will be based on Codahale (ie yammer, dropwizard),
which has the following advantage:
> * Well-defined metric model for frequently-needed metrics (ie JVM metrics)
> * Well-defined measurements for all metrics (ie max, mean, stddev, mean_rate, etc), 
> * Built-in reporting frameworks like JMX, Console, Log, JSON webserver
> It is used for many projects, including several Apache projects like Oozie.  Overall,
monitoring tools should find it easier to understand these common metric, measurement, reporting
> The existing metric subsystem will be kept and can be enabled if backward compatibility
is desired.

This message was sent by Atlassian JIRA

View raw message