[
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