Can you open /tmp/<user>/hive.log? It should have the full stack trace.
Zheng On Wed, Dec 23, 2009 at 12:17 PM, Nathan Rasch <[email protected]> wrote: > All: > > I've been setting up Hive using Derby in Server Mode as per the instructions > here: http://wiki.apache.org/hadoop/HiveDerbyServerMode > > After I've got everything finished I attempt to start Hive and run a 'show > tables;' query. > > I get the following output: > > hive> show tables; > FAILED: Error in metadata: javax.jdo.JDODataStoreException: Exception thrown > performing schema operation : Add classes to Catalog "", Schema "APP" > NestedThrowables: > java.sql.SQLNonTransientConnectionException: A network protocol error was > encountered and the connection has been terminated: the requested command > encountered an unarchitected and implementation-specific condition for which > there was no architected message > FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.DDLTask > > It appears that something is missing from my classpath? > > I've set the follow environment variables: > HADOOP_HOME > HIVE_HOME > DERBY_HOME > DERBY_INSTALL > > Is there something else I need set and/or do? > > Nathan > -- Yours, Zheng
