[ 
https://issues.apache.org/jira/browse/HIVE-10973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Shelukhin resolved HIVE-10973.
-------------------------------------
    Resolution: Duplicate

> JvmPauseMonitor.incrementMetricsCounter NPE while starting HiveServer2
> ----------------------------------------------------------------------
>
>                 Key: HIVE-10973
>                 URL: https://issues.apache.org/jira/browse/HIVE-10973
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>
> I build and start HS2 in http mode as follows:
>  ./hive --service hiveserver2 --hiveconf hive.server2.transport.mode=http 
> --hiveconf hive.root.logger=DEBUG,console --hiveconf 
> hive.server2.thrift.http.path=cliservice --hiveconf 
> hive.server2.thrift.port=10001
> I am  hitting a Null Pointer Exception around line 203 as follows:
> {code}
> 15/06/09 13:46:01 
> [org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@5d648bfd]: WARN 
> common.JvmPauseMonitor: 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)
> {code}



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

Reply via email to