sqoop从hive导出到mysql报错: failed with state FAILED due to: Task failed

sqoop从hive导出到mysql报错: failed with state FAILED due to: Task failed

原因:是hive数据导入mysql时,有字段内容超出了mysql设置的字段长度,所以报错了

解决:

 yarn logs -applicationId application_1621320191765_0037

查看对应applicationid日志,找到超出长度的字段,重新设置字段内容

author@nohert
原文地址:https://www.cnblogs.com/gzgBlog/p/15002313.html