hive 终端产生的问题 (Failed to start database 'metastore_db', see the next exception for details.)
2013-03-15 20:44
751 查看
今天使用Hive的时候遇到一个这样的bug,上网查下原来是个小问题,在此记录下 。
FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: Failed to start database 'metastore_db', see the next exception for details.
NestedThrowables:
java.sql.SQLException: Failed to start database 'metastore_db', see the next exception for details.
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
原因是在同一个目录下面 开启了2个终端。
而你上次在一个目录进入hive 建立了一张表 下次在另外一个目录下面登录。
则上次建立的表 在这次登录中是无法被发现的。
解决办法就是在同一个目录下操作Hive就OK了。
FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: Failed to start database 'metastore_db', see the next exception for details.
NestedThrowables:
java.sql.SQLException: Failed to start database 'metastore_db', see the next exception for details.
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
原因是在同一个目录下面 开启了2个终端。
而你上次在一个目录进入hive 建立了一张表 下次在另外一个目录下面登录。
则上次建立的表 在这次登录中是无法被发现的。
解决办法就是在同一个目录下操作Hive就OK了。
相关文章推荐
- hive 终端产生的问题 (Failed to start database 'metastore_db', see the next exception for details.)
- javax.jdo.JDOFatalDataStoreException: Failed to create database 'metastore_db', see the next excepti
- javax.jdo.JDOFatalDataStoreException: Failed to create database 'metastore_db', see the next excepti
- hive删除表错误:FAILED: SemanticException Unable to fetch table user_info. For direct MetaStore DB connect
- Font '宋体' is not available to the JVM. See the Javadoc for more details.
- 使用ACE日志策略时遇到的问题:DLL::open failed for ACE: Error: check log for details Unable to find service 'Logger'
- Font '??' is not available to the JVM. See the Javadoc for more details.
- Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, do
- hive 报错FAILED: Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient FAILED: Execu
- Hive metastore database is not initialized. Please use schematool(...) to create the schema.
- loadrunner 连接负载机时"Failed to connect to the load generator.Check the output window for more details"
- iOS--错误集锦--Failed to instantiate the default view controller for UIMainStoryboardFile 'Main'
- hive 建表报错 For direct MetaStore DB connections, we don't support retries at the client level
- valgrind提示 failed to start tool 'memcheck' for platform 'x86-linux'
- 「Hive元数据问题」hive.metastore.HiveMetaException: Failed to get schema version.
- hive----MetaException(message:Could not connect to meta store using any of the URIs provided. Most r
- 解决Mysql出现Access denied for user ''@'localhost' to database '的问题
- 启动hive时:Hive Failed to connect to the MetaStore Server
- Access denied for user'admin'@'localhost' to database 问题的解决
- 1716438 - Error :" Failed to load database information Details: The Database connector crdb_bwquery.