[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

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *