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 4600D10534 for ; Fri, 5 Dec 2014 18:13:13 +0000 (UTC) Received: (qmail 99085 invoked by uid 500); 5 Dec 2014 18:13:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 99019 invoked by uid 500); 5 Dec 2014 18:13:12 -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 99006 invoked by uid 500); 5 Dec 2014 18:13:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 99003 invoked by uid 99); 5 Dec 2014 18:13:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 18:13:12 +0000 Date: Fri, 5 Dec 2014 18:13:12 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-9024) NullPointerException when starting webhcat server if templeton.hive.properties is not set 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-9024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235825#comment-14235825 ] Xuefu Zhang commented on HIVE-9024: ----------------------------------- +1 > NullPointerException when starting webhcat server if templeton.hive.properties is not set > ----------------------------------------------------------------------------------------- > > Key: HIVE-9024 > URL: https://issues.apache.org/jira/browse/HIVE-9024 > Project: Hive > Issue Type: Bug > Components: WebHCat > Affects Versions: 0.14.0 > Reporter: Na Yang > Assignee: Na Yang > Attachments: HIVE-9024.patch > > > If templeton.hive.properties is not set, when starting webhcat server, the following NullPointerException is thrown and webhcat server could not start: > {noformat} > Exception in thread "main" java.lang.NullPointerException > at org.apache.hive.hcatalog.templeton.AppConfig.hiveProps(AppConfig.java:318) > at org.apache.hive.hcatalog.templeton.AppConfig.handleHiveProperties(AppConfig.java:194) > at org.apache.hive.hcatalog.templeton.AppConfig.init(AppConfig.java:175) > at org.apache.hive.hcatalog.templeton.AppConfig.(AppConfig.java:155) > at org.apache.hive.hcatalog.templeton.Main.loadConfig(Main.java:96) > at org.apache.hive.hcatalog.templeton.Main.init(Main.java:80) > at org.apache.hive.hcatalog.templeton.Main.(Main.java:75) > at org.apache.hive.hcatalog.templeton.Main.main(Main.java:267) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:197) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)