hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joey Echeverria (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-2152) Hive throws an NPE if hive-default.xml.
Date Mon, 09 May 2011 18:42:03 GMT
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message