[ 
https://issues.apache.org/jira/browse/HIVE-10761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573687#comment-14573687
 ] 

Sergey Shelukhin commented on HIVE-10761:
-----------------------------------------

Hello. Immediately after integrating this, I am getting a non-stop stream of 
NPEs (several a second) in the log when running HS2:
{noformat}
2015-06-04 15:17:13,648 WARN  
[org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@6fca5907()]: 
common.JvmPauseMonitor (JvmPauseMonitor.java:incrementMetricsCounter(205)) - 
Error Reporting JvmPauseMonitor to Metrics system
java.lang.NullPointerException
        at 
org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor.incrementMetricsCounter(JvmPauseMonitor.java:203)
        at 
org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor.run(JvmPauseMonitor.java:195)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

> Create codahale-based metrics system for Hive
> ---------------------------------------------
>
>                 Key: HIVE-10761
>                 URL: https://issues.apache.org/jira/browse/HIVE-10761
>             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 models.
> The existing metric subsystem will be kept and can be enabled if backward 
> compatibility is desired.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to