Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.3
-
None
Description
sudo -u sqoop sqoop export --connect "jdbc:mysql://<hostname>/sqoop" --username sqoop --password sqoop --table quicktest --verbose --export-dir /user/sqoop/quicktest --num-mappers 12
...results in more than twice the number of mappers (according to the logs) as the specified '12' hint:
13/03/26 16:20:35 INFO mapred.JobClient: Job Counters
13/03/26 16:20:35 INFO mapred.JobClient: Launched map tasks=23
...and I couldn't help notice that the logs also say:
13/03/26 16:19:03 DEBUG mapreduce.ExportInputFormat: Target numMapTasks=12
13/03/26 16:19:03 DEBUG mapreduce.ExportInputFormat: Total input bytes=23
...where # input bytes maches # launched map tasks. Coincidence, or relation?