To simplified the model, you can assume there are N nodes (index from 1 to N) in the cluster except master node. Each node should be either a "Mapper" or a "Reducer". And "Mapper" and "Reducer" node is also indispensable in the cluster when we use this framework. In practical work, we found a dissatisfied problem: due to the unknown reason, when we assign a specific role to node X, and a specific role to another node Y, web connection would be broken. According to long-term observation on this cluster, we found M pairs of "trouble maker" as described above.
Today I received a new task, and I want to take whole cluster into use, which mean each node should be assigned a role. Given all information about the cluster, I want to know whether it is possible for me to establish a MapReduce model.
2 2 1 1 M 2 M 2 2 1 M 2 R 1 R 2 R