hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Istvan Szegedi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3819) Creating a table on Hive without Hadoop daemons running returns a misleading error
Date Sat, 29 Dec 2012 19:54:12 GMT

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

Istvan Szegedi commented on HIVE-3819:
--------------------------------------

I am running hive 0.9.0 and when Hadoop is stopped, I get the following error message indicating
the hive cannot connect to hdfs://localhost:9000 (hadoop fs.default.name):

hive> create table test ( i int );
create table test ( i int )
FAILED: Error in metadata: MetaException(message:Got exception: java.net.ConnectException
Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectException:
Connection refused)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

                
> 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

Mime
View raw message