问题:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/apps/hive/lib/hive-jdbc-2.1.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/apps/hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]

Logging initialized using configuration in jar:file:/apps/hive/lib/hive-common-2.1.0.jar!/hive-log4j2.properties Async: true
Exception in thread “main” java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType …) to create the schema. If needed, don’t forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql))
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:578)
at org.apache.hadoop.hive.ql.session.SessionState.beginStart(SessionState.java:518)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:705)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:641)
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:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType …) to create the schema. If needed, don’t forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql))
at org.apache.hadoop.hive.ql.metadata.Hive.registerAllFunctionsOnce(Hive.java:226)
at org.apache.hadoop.hive.ql.metadata.Hive.(Hive.java:366)
at org.apache.hadoop.hive.ql.metadata.Hive.create(Hive.java:310)
at org.apache.hadoop.hive.ql.metadata.Hive.getInternal(Hive.java:290)
at org.apache.hadoop.hive.ql.metadata.Hive.get(Hive.java:266)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:545)
… 9 more
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType …) to create the schema. If needed, don’t forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql))
at org.apache.hadoop.hive.ql.metadata.Hive.getAllFunctions(Hive.java:3593)
at org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:236)
at org.apache.hadoop.hive.ql.metadata.Hive.registerAllFunctionsOnce(Hive.java:221)
… 14 more
Caused by: MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType …) to create the schema. If needed, don’t forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql))
at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3364)
at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3336)
at org.apache.hadoop.hive.ql.metadata.Hive.getAllFunctions(Hive.java:3590)
… 16 more

解决措施:

hive安装报错如何解决?相关推荐

  1. CAD、3dmax等Autodesk系列软件安装报错1603解决办法

    一级标题CAD.3dmax等Autodesk系列软件安装报错1603解决办法 使用Auto Remove清理后,安装报错1603 ,如下图 该错误只会出现在2020和2021版本上,其他版本不存在该问 ...

  2. R安装WGCNA包(MacOS M1芯片)及impute包安装报错的解决方法【已成功】

    R安装WGCNA包(MacOS M1芯片) WGCNA R安装WGCNA包 安装impute时的错误 impute包安装报错的解决方法 WGCNA 加权基因共表达网络分析 (WGCNA, Weight ...

  3. Python之Datasets库安装报错的解决方法

    Python之Datasets库安装报错的解决方法 Problem 想要run一下最近在看的有关Domain Adaptation的论文实现代码,文中使用了Datasets库,习惯性使用Anacond ...

  4. MySQL 安装报错的解决方法

    MySQL 安装报错的解决方法 前言 mysql 使用的是官网下载的安装包,mysql-installer-community-8.0.25.0.msi ,第一次安装时很顺利,因为某些原因要卸载重新安 ...

  5. win11u盘安装报错怎么办 windows11u盘安装报错的解决方法

    现在安装系统的方式有很多种,U盘就是其中一种,最近有用户在使用U盘安装Win11系统的时候,在安装的途中出现系统报错的情况,那么我们遇到u盘安装win11系统报错怎么办呢?很多用户都不清楚该如何解决, ...

  6. node安装报错及解决方法

    1 调用报错: Uncaught Error: Cannot find module 'express' 全局安装后,调用失败,后来发现忘记将环境变量配置了, 安装位置为自己设定的,在环境变量中新建N ...

  7. Hive安装报错:Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient的解决办法

    最近练习Hive,安装时爆出如下错误:Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClie ...

  8. Navicat Premium12 安装报错、解决办法

    在安装Navicat的时候,发现一直无法破解安装,一直报错提示"激活失败.原因可能是由于已达到激活次数的上限.请检查你是否已在 卸载或重新安装Navicat前取消许可证秘钥. 9001000 ...

  9. R包安装报错的解决方法

    目录 无法下载 换源 依赖包的问题 依赖包未安装 依赖包版本不对 依赖包与当前R版本不匹配 无法下载 换源 install.packages("tidyverse",repo=&q ...

最新文章

  1. Wake-On-LAN待机或休眠模式中唤醒
  2. random.choice()使用
  3. linux的tty进程,Linux 进程详解 ps aux 命令 nohup kill 和 tty - 简明教程
  4. 感恩节(美食火鸡大餐)PNG免扣素材 总有一款你用得上
  5. 老生常谈的一个问题,转行学习编程,是自学还是报班
  6. 华米OV坐不住了!九大手机厂商围剿微信小程序
  7. java 9 mc_Java基础9
  8. 牛客 2022年中国高校计算机大赛-团队程序设计天梯赛(GPLT)上海理工大学校内选拔赛 签到题13题
  9. JavaScript:正则表达式 分组
  10. eclipse 中使用字符流复制文件乱码解决
  11. linux上多个CUDA切换使用(小白教程)
  12. 百度推广怎么调整计算机优先,百度竞价优化关于帐户层级的一些设置方法与技巧...
  13. 搜狗输入法按shift键切换到英文时会清空已输入字符的问题
  14. python中encode函数_python中文处理之encode/decode函数
  15. 基于GEE的bfastmonitor的改编
  16. Guitar Pro 功能介绍之RSE引擎
  17. ServiceNow CSA管理员考试(ServiceNow Fundamentals (On Demand) Paris)
  18. 极客日报:微信自动抢红包软件被判赔 475 万;日本科学家打破网速全球纪录;JavaScript蝉联最受欢迎编程语言
  19. 心理学 | (1)焦虑症和恐惧症--一种认知的观点
  20. vscode中怎样格式化js代码_vsCode配置代码格式化

热门文章

  1. svn 目录结构 trunk java_如何彻底删除SVN中的文件和文件夹(附恢复方法)
  2. java update set_mybatis update set 多个字段实例
  3. 两个提高javascript执行效率的简易代码分享给大家
  4. 做完小程序项目、老板给我加了6k薪资~
  5. 很安逸的离线API文档查询工具Dash和Zeal
  6. awk的求和计算使用;awk多个分隔符如何使用?
  7. 面试题及相关参考答案
  8. 机器学习及其在信息检索中的应用
  9. 在线拼音输入法,挺好玩的。
  10. 极客新闻——05、如何在工作中学习和成长?