You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/25 08:20:32 UTC
[jira] [Resolved] (HIVE-46) derbyclient.jar and derbytools.jar
should be included in hive/lib
[ https://issues.apache.org/jira/browse/HIVE-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan resolved HIVE-46.
----------------------------------
Resolution: Fixed
derby.jar is now present in lib/ dir. No more NPE.
> derbyclient.jar and derbytools.jar should be included in hive/lib
> -----------------------------------------------------------------
>
> Key: HIVE-46
> URL: https://issues.apache.org/jira/browse/HIVE-46
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Environment: Cent OS 5 x86-64 JDK 1.6
> Reporter: Edward Capriolo
> Priority: Minor
>
> Attempting to use the Derby ClientDriver will cause a null pointer exception because derbyclient.jar and derbytools.jar are not in lib.
> hive> show tables;
> 08/10/02 15:17:12 INFO hive.metastore: Trying to connect to metastore
> with URI jdbc:derby://nyhadoop1:1527/metastore_db
> FAILED: Error in semantic analysis: java.lang.NullPointerException
> 08/10/02 15:17:12 ERROR ql.Driver: FAILED: Error in semantic analysis:
> java.lang.NullPointerException
> derbyclient.jar and derbytools.jar should probably be put in the hive/lib directory. Also this type of exception could happen often with different JDBC libraries the exception should be trapped better
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira