首页 > 其他分享 >metastore无法启动的问题(MetaException(message:Error creating transactional connection factory))

metastore无法启动的问题(MetaException(message:Error creating transactional connection factory))

时间:2024-11-05 18:49:34浏览次数:6  
标签:java creating transactional hadoop metastore RetryingHMSHandler Error apache org

查看日志

MetaException(message:Error creating transactional connection factory)
	at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:84)
	at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:93)
	at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:8661)
	at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:8656)
	at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:8926)
	at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:8843)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:236)
Caused by: MetaException(message:Error creating transactional connection factory)
	at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:208)
	at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:108)
	at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:80)
	... 11 more

怀疑是MySQL元数据出了问题:因为正常启动Metastore的时候是有进程的,但是一旦hiveserver2或者是Spark需要使用Metastore服务的时候,就会报错

查看mysql是否启动

systemctl status mysqld

发现mysql未启动

启动mysql即可

 systemctl start mysqld

 查看状态

可以把mysql设置为开机自启

 systemctl enable mysqld

再次启动metastore即可 

标签:java,creating,transactional,hadoop,metastore,RetryingHMSHandler,Error,apache,org
From: https://blog.csdn.net/m0_58419490/article/details/143521087

相关文章

  • 关于idea连接数据库时报错:Cannot run program E:\IntelliJ_IDEA_2023.3.4\jbr\bin
    问题说明连接mysql数据库时在点击testconnection时弹出的问题:CannotrunprogramE:\IntelliJ_IDEA_2023.3.4\jbr\bin\javacreateprocesserror=5,拒绝访问查询多个网站都没有找到解决方案。解决方法点击左侧Drivers,找到MySQL右侧点击Advanced在最下方的VMhome......
  • @Transactional事务,太坑了吧!
    前言对于从事java开发工作的同学来说,spring的事务肯定再熟悉不过了。在某些业务场景下,如果一个请求中,需要同时写入多张表的数据。为了保证操作的原子性(要么同时成功,要么同时失败),避免数据不一致的情况,我们一般都会用到spring事务。确实,spring事务用起来贼爽,就用一个简单的注解:@T......
  • SQLI LABS | Less-27 GET-Error Based-All Your UNION & SELECT Belong To Us-String-
    关注这个靶场的其它相关笔记:SQLILABS——靶场笔记合集-CSDN博客0x01:过关流程输入下面的链接进入靶场(如果你的地址和我不一样,按照你本地的环境来): http://localhost/sqli-labs/Less-27/本关考察的是SQL注入的绕过姿势,至于发现注入点,相信强大如你已经很容易测出来了,......
  • 转存——Quartus II FPGA程序仿真运行时出现错误“error occurred during modelsim si
    起因使用QuartusII软件进行FPGA程序仿真,运行时出现错误“erroroccurredduringmodelsimsimulation”,上网查询解决方法,找了很久都没找到,最后在一个CSDN博客的评论里找到解决方法。现将解决方法转存如下。错误示例解决步骤1.依次点击simulation,option2.依次点击Quartus......
  • 如何解决ffmpeg安装报错ERROR: You have requested merging of multiple formats but
    ......
  • # curl (35) SSL connect error 解决方法:
    curl(35)SSLconnecterror解决方法:一、问题描述:在使用curl命令时,报错curl(35)SSLconnecterror如执行如下命令时报错:curl-o/etc/yum.repos.d/CentOS-Base.repohttps://www.xmpan.com/Centos-6-Vault-Aliyun.repo如下图:二、问题分析:Curl默认支持https......
  • 2-petalinux 问题记录-VFS: Cannot open root device "mmcblk0p2" or unknown-block(1
    前言这个问题跟前面记录的问题0和1有点类似吧,也是需要再文件树里面增加一点配置。我手上是有两块zynq,一块是xczu2cg另一块是zynq7010,也就是zynqMP和zynq,在MPSOC里面SD启动需要注意这个SD卡的读写问题。原因SD卡有两种规格,一种大的,标准的SD卡;一种小的,MicroSD卡。如果是大SD卡......
  • CommandNotFoundError: Your shell has not been properly configured to use ‘conda
    WindowsPowerShell版权所有(C)MicrosoftCorporation。保留所有权利。安装最新的PowerShell,了解新功能和改进!https://aka.ms/PSWindowsPSD:\projects\learnYolo\yolov5-5.0>condaactivatepytorchCommandNotFoundError:Yourshellhasnotbeenproperlyconfigure......