Sqoop debugging

In sqoop import how mappers will be defined. In mycase sometimes i am not getting the partitions based on number of mappers. On what basis mappers will be defined.

In my case i gave 4 records in mysql and i ran sqoop import with 3 mappers but 4 part files are created. Need to understand the concept clearly