ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException:

ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException:,第1张

错误提示:22/05/13 17:52:59 ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException: Hive exited with status 1

将表emp_add中的数据导入Hive:出现错误

sqoop import --connect jdbc:mysql://master:3306/userdb --username root --password 123456 --table emp_add --hive-table itcast.emp_add_sp --create-hive-table --hive-import --num-mappers 1

解决方法:

将运行的Hive停止,

再将HDFS上的emp_add文件删除。

(每个人写入hdfs的都不同)

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/919258.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-16
下一篇 2022-05-16

发表评论

登录后才能评论

评论列表(0条)

保存