我已经创建了一个EMR集群与hadoop,Sqoop和Spark配置。我正在尝试Sqoop导入,但得到错误 "无法加载db驱动类:com.mysql.jdbc.Driver"。我的问题是,我们把Mysql Driver放在哪个位置?
I have tried putting the Jar at path
1. /etc/sqoop/conf/
2. /etc/sqoop/lib/ (after creating the lib folder)
sqoop import --connect jdbc:mysql:/--.--.--:3306xyz --table sample_submission --target-dir homesqoop7 --username x --password y --m 1;
放在Sqoop的Jars是下 lib
灌输 SQOOP_HOME
全路径。/usr/lib/sqoop/lib/