How to use the same data with all mappers?
<p>As we know, the number of mapper is defined by the data splits, then the problem comes, if I want to implement a random forest algorithm with MapReduce, where each mapper requires all the data. What should I do within that case? Could we "reuse" the data for different mappers?</p>

<p>Could <code>setNumMapTasks</code> works? I am quite confused about that function, and I could hardly find any information regarding how it works against the natural number of mappers decided by the number of data splits.</p>

<p>Thank you so much.</p>