0 votes
in Sqoop by
Using Sqoop command how can we control the number of mappers?.

1 Answer

0 votes
by
We can control the number of mappers by executing the parameter –num-mapers in sqoop command. The –num-mappers arguments control the number of map tasks, which is the degree of parallelism used. Start with a small number of map tasks, then choose a high number of mappers starting the performance may down on the database side.

Syntax: -m, –num-mappers
...