i am reading hadoop framework from past few weeks,but i am not able to understand one concept. May be this question is foolish,if it is so than sorry for that. My question is suppose i have to create a word count program on a file which is too long and hence it is distributed on 3 different datanodes. Now since map phase running on all three datanodes will create as a key value pair and after that merging will be performed on all the map data created by all three datanodes. But now i am unable to understand what is next phase. Means how merge data will be distributed along different reduced phase, and how many reduce phase will run and how many datanodes will run reduce phase.Please clear my all above confusions,because of this i am unable to move further in hadoop. Sorry for a foolish question if it is so. Thank you
compateTo()
method implementation of the map out key class instance. (for example there were tree different groups produced A, B and C).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.