I am trying to export .csv file stored in HDFS to table in MYSQL. When I execute the sqoop export command the map task start to execute and after some time it gets failed so job also fails. following is my command
sqoop export --connect jdbc:mysql://xx.xx.xx.xx/exam --username horton --password horton --table tbl3 --export-dir /data/sqoop/export --input-fields-terminated-by ',' --input-lines-terminated-by '\n'
File name.csv is stored in /data/sqoop/export in HDFS. following is the file which I want to export.
Attached image show the stack trace of sqoop command execution.