Can't connect to the database with given credentials:No suitable driver found for jdbc:mysql://211.87.147.48.3306/hive Error message:Can't load specified driver 是CDH还是什么? CDH放到这个目录下 /usr/lib/sqoop2/webapps/sqoop/WEB-INF/lib/mysql-connector-java-5.1.25.jar ,记得重启 HADOOP_CLASSPATH配置了吗? export HADOOP_CLASSPATH=/usr/lib/jdbcJars:HADOOP_CLASSPATH; |
虽然放置了,但是版本不合适。 |