Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DDD910FB6 for ; Mon, 9 Feb 2015 17:25:38 +0000 (UTC) Received: (qmail 77360 invoked by uid 500); 9 Feb 2015 17:25:37 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 77301 invoked by uid 500); 9 Feb 2015 17:25:37 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 77289 invoked by uid 500); 9 Feb 2015 17:25:37 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 77285 invoked by uid 99); 9 Feb 2015 17:25:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2015 17:25:37 +0000 Date: Mon, 9 Feb 2015 17:25:37 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-9566) HiveServer2 fails to start with NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312499#comment-14312499 ] Xuefu Zhang commented on HIVE-9566: ----------------------------------- Thanks for the clarification, [~nyang]. > 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.0, 0.14.0, 0.13.1 > Reporter: Na Yang > Assignee: Na Yang > Attachments: HIVE-9566-branch-0.13.patch, HIVE-9566-branch-0.14.patch, HIVE-9566-trunk.patch > > > 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)