嗨,我正在尝试使用sqoop命令将两个表数据从mysql导入hdfs。
命令:
sqoop import --connect jdbc:mysql://16.166.242.179:3306/organisation --username root -P --table emp --m 2 --boundary-query "select * from emp,dept where emp.deptno=dept.deptno" --target-dir /sqoop/output
错误:
error tool.importtool:运行导入作业时遇到ioexception:java.io.ioexception:java.sql.sqlexception:列2中bigdecimal'clark'的格式不正确。
暂无答案!
目前还没有任何答案,快来回答吧!