博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Hive报错:Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
阅读量:7297 次
发布时间:2019-06-30

本文共 880 字,大约阅读时间需要 2 分钟。

应用场景

搭建了hadoop伪分布式集群,并且在其上搭建了hive环境,hive运行报HiveMetaStoreClient错误。

解决办法

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient


修改hive-site.xml,将value修改为false即可!

hive.metastore.schema.verification
false
Enforce metastore schema version consistency. True: Verify that version information stored in metastore matches with one from Hive jars. Also disable automatic schema migration attempt. Users are required to manully migrate schema after Hive upgrade which ensures proper metastore schema migration. (Default) False: Warn if the version information stored in metastore doesn't match with one from in Hive jars.

转载地址:http://asmjm.baihongyu.com/

你可能感兴趣的文章
R中,将从MySQL中获取的结果字符列表转化为向量,并测试绘制图形
查看>>
年复利计算2
查看>>
2018 Multi-University Training Contest 6 - Werewolf
查看>>
Windows注册表内容详解
查看>>
一键安装MySQL
查看>>
matlab符号运算
查看>>
微信APP支付Java后端回调处理
查看>>
朴素贝叶斯
查看>>
基于OpenGL编写一个简易的2D渲染框架-12 重构渲染器-BlockAllocator
查看>>
web app响应式字体设置!rem之我见
查看>>
数组的三种声明方式总结、多维数组的遍历、Arrays类的常用方法总结
查看>>
前端模块化
查看>>
远程桌面连接
查看>>
数据库三范式
查看>>
电脑是否可以有刻录机
查看>>
3 算法、控制结构
查看>>
JAVA 面试须知
查看>>
Map集合
查看>>
chsh 设置用户禁止登陆
查看>>
generatorConfig.xml
查看>>