You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Na Yang (JIRA)" <ji...@apache.org> on 2015/02/03 20:49:34 UTC
[jira] [Created] (HIVE-9566) HiveServer2 fails to start with
NullPointerException
Na Yang created HIVE-9566:
-----------------------------
Summary: HiveServer2 fails to start with NullPointerException
Key: HIVE-9566
URL: https://issues.apache.org/jira/browse/HIVE-9566
Project: Hive
Issue Type: Bug
Components: HiveServer2
Affects Versions: 0.13.1, 0.14.0, 0.13.0
Reporter: Na Yang
Assignee: Na Yang
hiveserver2 uses embedded metastore with default hive-site.xml configuration.
I use "hive --stop --service hiveserver2" command to stop the running hiveserver2 process and then use "hive --start --service hiveserver2" command to start the hiveserver2 service. I see the following exception in the hive.log file
{noformat}
java.lang.NullPointerException
at org.apache.hive.service.server.HiveServer2.stop(HiveServer2.java:104)
at org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:138)
at org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)