赞
踩
完整错误如下所示:
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to load driver
Underlying cause: java.lang.ClassNotFoundException : com.mysql.jdbc.Driver
Use --verbose for detailed stacktrace.
*** schemaTool failed ***
需要把连接mysql数据库的驱动拷贝到hive安装目录的lib目录下:
MySQL驱动网盘下载地址:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。