编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录

cdh 安装异常JDBC driver cannot be found

hadoop | 2021-03-18 14:28:46

出错原因:

安装cdh所有需要使用mysql的地方都出错包括hive等

JDBC driver cannot be found. Unable to find the JDBC database jar on host : slave133

解决方法:
后来在网上找到需要将这个包放到这个路径下就通过了(名字需要修改下)
/usr/share/java/mysql-connector-java.jar

jar包名字 一定要是mysql-connector-java.jar

登录后即可回复 登录 | 注册
    
相关文章
spring security 配置需要登录才能访问出错 role user cannot be foundmysql异常java.math.biginteger cannot be cast to java.lang.long解决cdh集群离线安装与使用详细步骤php 安装 installing the mongodb php driver on macos with homebrewphp 安装 manually installing the mongodb php driverphp 安装 installing the mongodb php driver with peclphp 安装 installing the mongodb php driver on windowsphp 安装/配置 运行时配置php 安装/配置 安装php 安装/配置 需求php 安装/配置 安装php 安装/配置 需求php 安装/配置 资源类型php 安装/配置 安装php 安装/配置 需求php 安装/配置 资源类型php 安装/配置 资源类型php 安装/配置 运行时配置cdh安装异常bad incoming host namecdh 安装异常JDBC driver cannot be found
关注编程学问公众号
编程学问网 湘ICP备20001732号