Reputation: 31
How can I set the number of mappers to do distcp job? I know that we can set the max number of mappers by doing Hadoop distcp -m
. But is it possible to set the number instead of the maximum number of mappers?
Thanks
Upvotes: 0
Views: 4116
Reputation: 35404
No, It's not possible to set exact number of mappers for distcp
up to now.
As you said, we can only specify Maximum number of simultaneous copies with -m
. Hadoop hdfs handles simultaneous copiers to finish copy job in best possible way. so it might be the reason to not letting us to specify exact number.
Upvotes: 3