Tag Archives: Exporting sqoop from hive to MYSQL error

[Solved] Exporting sqoop from hive to MYSQL error: failed with state FAILED due to: Task failed

Reason: When the hive data is imported into mysql, the content of a field exceeds the field length set by mysql, so an error is reported

 

Solution:

yarn logs -applicationId application_1621320191765_0037

Check the corresponding applicationid log, find the field that exceeds the length, and reset the field content