user2597504
user2597504

Reputation: 1533

Hadoop many Mappers

Can one Job have several Mappers at the same time?

e.g.

    job.setMapperClass(Mapper1.class);
    job.setMapperClass(Mapper2.class);
    job.setMapperClass(Mapper3.class);

Upvotes: 1

Views: 78

Answers (1)

jason
jason

Reputation: 241789

Yes, if you use ChainMapper. In fact, ChainMapper and ChainReducer together enable to you execute MapReduce workflows of the form Mapper+ | Reducer | Mapper*.

Upvotes: 1

Related Questions