You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sean Mackrory (JIRA)" <ji...@apache.org> on 2013/03/14 15:52:12 UTC

[jira] [Commented] (HIVE-3819) Creating a table on Hive without Hadoop daemons running returns a misleading error

    [ https://issues.apache.org/jira/browse/HIVE-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602318#comment-13602318 ] 

Sean Mackrory commented on HIVE-3819:
-------------------------------------

I just ran into this error while Hadoop daemons were running but the problem was that the Hive Metastore was running (backed by the embedded Derby database) and the hive client was running in embedded mode and also trying to connect to the embedded Derby database. Perhaps there are multiple common misconfigurations that result in this error.
                
> Creating a table on Hive without Hadoop daemons running returns a misleading error
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-3819
>                 URL: https://issues.apache.org/jira/browse/HIVE-3819
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI, Metastore
>            Reporter: Mark Grover
>
> I was running hive without running the underlying hadoop daemon's running. Hadoop was configured to run in pseudo-distributed mode. However, when I tried to create a hive table, I got this rather misleading error:
> {code}
> FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
> {code}
> We should look into making this error message less misleading (more about hadoop daemons not running instead of metastore client not being instantiable).

--
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