Hive安装过程遇到的问题
2016-09-28 11:21
387 查看
问题一:
$ hive Logging initialized using configuration in jar:file:/usr/local/hive/lib/hive-common-1.2.1.jar!/hive-log4j.properties Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient ......
可能原因1:
因为没有正常启动Hive 的 Metastore Server服务进程。解决方法:
启动Hive 的 Metastore Server服务进程,执行如下命令:hive --service metastore &
可能原因2:
设置ConnectionURL错误<value>jdbc:mysql://localhost:3306/hive;createDatabaseIfNotExist=true</value>
解决方法:
将上面;修改成?即可。<name>javax.jdo.option.ConnectionURL</name> <value>jdbc:mysql://localhost:3306/hive?createDatabaseIfNotExist=true</value>
问题二:
$ hive --service metastore & [5] 17493 hadoop@ubuntu:/usr/local/hive/conf$ Starting Hive Metastore Server org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083. ......
解决方法:
metastore重复启动,kill后重新启动即可解决。# 查看启动metastore的进程号 $ ps -aux | grep 'metastore' # 杀死相关进程 $ kill -9 进程号
相关文章推荐
- hive安装过程中遇到的一些问题以及解决方案
- 执行查看linux端口命令 9083 端口发现被占用 Hive安装过程遇到的问题
- CentOS7伪分布式下 hive安装过程中遇到的问题及解决办法
- Hive安装过程遇到的问题(启动hive --service metastore &)
- SQL Server 2008 安装过程中遇到“性能计数器注册表配置单元一致性”检查失败 问题的解决方法
- oracle 10g安装过程遇到的问题
- Microsoft SQL Server Desktop Engine安装过程中遇到的问题(2)
- Apusic1.1.2安装过程中遇到的jdk相关问题解答
- Team Foundation Server 2008 安装过程中遇到的问题
- 考考你。腾讯QQ Linux版本安装过程遇到的问题。(操作系统debian etch)
- SQL server安装过程中可能遇到的问题
- 解决了安装kchmviewer的过程中遇到的一个小问题
- python mysql驱动安装过程中遇到的问题
- SQL Server 2008 安装过程中遇到“性能计数器注册表配置单元一致性”检查失败 问题的解决方法
- Microsoft Application Verifier安装过程中(遇到注册表Image File Execution Options项无权限)的问题解决
- mrtg安装过程中遇到问题的整理
- 我在SQL Server安装过程中遇到过的问题
- 安装JForum的过程中遇到的问题 ( by quqi99 )
- Microsoft SQL Server Desktop Engine安装过程中遇到的问题(2)
- 关于SQL SERVER 2008安装过程中遇到的个小问题及解决办法