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 AD3FED459 for ; Wed, 27 Feb 2013 08:19:15 +0000 (UTC) Received: (qmail 48022 invoked by uid 500); 27 Feb 2013 08:19:15 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 47879 invoked by uid 500); 27 Feb 2013 08:19:15 -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 47862 invoked by uid 500); 27 Feb 2013 08:19:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 47613 invoked by uid 99); 27 Feb 2013 08:19:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 08:19:14 +0000 Date: Wed, 27 Feb 2013 08:19:14 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HIVE-2152) Hive throws an NPE if hive-default.xml. 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-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Navis resolved HIVE-2152. ------------------------- Resolution: Fixed Confirmed fixed > Hive throws an NPE if hive-default.xml. > --------------------------------------- > > Key: HIVE-2152 > URL: https://issues.apache.org/jira/browse/HIVE-2152 > Project: Hive > Issue Type: Bug > Components: Diagnosability > Affects Versions: 0.7.0 > Reporter: Joey Echeverria > > If you don't have hive-default.xml in your classpath, you get the following error when you try to show tables in the the hive shell: > hive> show tables; > FAILED: Error in metadata: java.lang.NullPointerException > FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask > It would be a lot more useful to print message indicating that hive-default.xml. This problem will become mute if HIVE-1530 gets accepted. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira