![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hive
我在燕京有把刀
这个作者很懒,什么都没留下…
展开
-
Hive初始化源数据库失败:Schema initialization FAILED! Metastore state would be inconsistent
一、出现的问题执行hive初始化源数据库出现问题schematool -initSchema -dbType mysql -verbose然后报错Schema initialization FAILED! Metastore state would be inconsistent二、解决方法1、先删除多出来的2个文件/文件夹有个d***.log(刚才忘了记录一下,忘了叫啥名),rm -rf metastore_db2、看一下数据库里面的metastore数据库应该是没有表的,如果有,就原创 2021-08-25 13:28:29 · 7685 阅读 · 2 评论 -
Hive任务被阻塞,配置yarn多队列
一、出现的问题hive客户端开着,shell脚本中的hive任务启动不起来。二、解决方法在Yarn中额外配置一条队列,hive客户端中的任务提交到这个新的队列中vim $HADOOP_HOME/etc/hadoop/capacity-scheduler.xml<!--修改:添加hive队列,然后把容量调整一下,看你个人--><property> <name>yarn.scheduler.capacity.root.queues</name&g原创 2021-08-25 10:54:08 · 929 阅读 · 0 评论 -
unable to instantiate org.apache.hadoop.hive.ql.metadata.sessionhivemetastoreclient
一、出现的问题Hive报错unable to instantiate org.apache.hadoop.hive.ql.metadata.sessionhivemetastoreclient。一开始以为是源数据服务没有启动,去启动源数据服务进入hive/bin目录,然后执行 ./hive --service metastore &源数据服务启动失败,抱了一堆错MetaException(message:Error creating transactional connection原创 2021-08-09 16:40:28 · 1458 阅读 · 0 评论