[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-tabpanelfocusedCommentId=13817337#comment-13817337 ] Xuefu Zhang commented on HIVE-3819: --- [~mgrover] were you able to reproduce? If not, I think we can close this one. Thanks. 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 Assignee: Xuefu Zhang 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 was sent by Atlassian JIRA (v6.1#6144)
[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-tabpanelfocusedCommentId=13817348#comment-13817348 ] Mark Grover commented on HIVE-3819: --- Sorry, Xuefu, I haven't had the time. If you can't reproduce this, please go ahead and mark this as Cant' reproduce. Thanks for checking! 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 Assignee: Xuefu Zhang 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 was sent by Atlassian JIRA (v6.1#6144)
[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-tabpanelfocusedCommentId=13800020#comment-13800020 ] Brock Noland commented on HIVE-3819: [~xuefuz] did you have your environment configured such that fs.default.name pointed at HDFS? I have seen this same error when I didn't have mysql in my lib/ and was configured to use a mysql metastore. 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 Assignee: Xuefu Zhang 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 was sent by Atlassian JIRA (v6.1#6144)
[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-tabpanelfocusedCommentId=13800026#comment-13800026 ] Xuefu Zhang commented on HIVE-3819: --- Yes. I had. I can understand the error message in case of metastore not running or running normally, which is your case. However, but problem described above is about when hadoop daemons are not running. In my case, metastore was running normally, but hdfs/mr were all down. In such case, I didn't see the mentioned error msg. 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 Assignee: Xuefu Zhang 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 was sent by Atlassian JIRA (v6.1#6144)
[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-tabpanelfocusedCommentId=13800063#comment-13800063 ] Mark Grover commented on HIVE-3819: --- Let merry to reproduce it. 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 Assignee: Xuefu Zhang 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 was sent by Atlassian JIRA (v6.1#6144)
[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-tabpanelfocusedCommentId=13800064#comment-13800064 ] Mark Grover commented on HIVE-3819: --- Stupid autocorrect! I meant to say let me try to reproduce it:-) 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 Assignee: Xuefu Zhang 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 was sent by Atlassian JIRA (v6.1#6144)
[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-tabpanelfocusedCommentId=13799754#comment-13799754 ] Xuefu Zhang commented on HIVE-3819: --- I wasn't able to reproduce the problem with the latest trunk: even if the hadoop daemons are down, creating table actually succeeds without seeing the error msg. [~mgrover] Could you please try to see if you can reproduce it? 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 Assignee: Xuefu Zhang 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 was sent by Atlassian JIRA (v6.1#6144)
[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-tabpanelfocusedCommentId=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
[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-tabpanelfocusedCommentId=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