在任务命令中增加–bindir参数
$sqoop import \
--connect jdbc:mysql://localhost:3306/*** \
--username **** \
--password ****** \
--table ***** \
--columns * \
--target-dir /test \
--delete-target-dir \
--fields-terminated-by '\t' \
--bindir [SQOOP_NAME]/lib
在任务命令中增加–bindir参数
$sqoop import \
--connect jdbc:mysql://localhost:3306/*** \
--username **** \
--password ****** \
--table ***** \
--columns * \
--target-dir /test \
--delete-target-dir \
--fields-terminated-by '\t' \
--bindir [SQOOP_NAME]/lib