hive 终端产生的问题 (Failed to start database 'metastore_db', see the next exception for details.)
来源:互联网 发布:js虚拟数字键盘 编辑:程序博客网 时间:2024/05/22 13:15
转载自:http://blog.csdn.net/shaopeng5211/article/details/8679520
今天使用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了。
0 0
- hive 终端产生的问题 (Failed to start database 'metastore_db', see the next exception for details.)
- 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-2.1.1报错Failed to start database 'metastore_db' with class loader sun.misc.Launcher$AppClassLoad
- CommandInvokationFailure: Failed to re-package resources. See the Console for details.
- unity打包时错误信息 Failed to build apk.See the Console for details.解决方案
- Unity3d build打包app时报错:Failed to re-package resources. See the Console for details.
- Compile failed; see the compiler error output for details
- Compile failed; see the compiler error output for details. 解决
- hive 终端产生的问题
- An error occurred while updating the entries. See the inner exception for details.解决方案
- an android virtual device that failed to load click 'details' to see the error
- Some file crunching failed, see logs for details解决.9patch点9图片的报错问题
- 安卓编译错误app:compileDebugJavaWithJavac>Compilation failed; see the compiler error output for details.
- 1716438 - Error :" Failed to load database information Details: The Database connector crdb_bwquery.
- Font '宋体' is not available to the JVM. See the Javadoc for more details.
- Font '??' is not available to the JVM. See the Javadoc for more details.
- FFT快速傅立叶变换的工作原理
- iOS study Day9-电话本
- <iphone>连接iphone无法获得照片
- 解决db2 bufferpool不足的问题
- 零碎笔记
- hive 终端产生的问题 (Failed to start database 'metastore_db', see the next exception for details.)
- 奋斗数天!解决在X64 RedHat5.1 下以编译方式安装PHP 出现的种种问题
- Maven 修改本地存储库位置
- 聚类分析(六)基于密度的聚类算法 — OPTICS
- java.library.path配置
- 在go中使用linked channels进行数据广播
- 关于C和C++不同源文件中重名变量的问题
- CPU的实模式与保护模式(简介)
- FFT算法的完整DSP实现