Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10973

JvmPauseMonitor.incrementMetricsCounter NPE while starting HiveServer2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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:

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hsubramaniyan Hari Sankar Sivarama Subramaniyan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: