Very nice Kumaran. I wil try this too. I want to write a mapreduce program to group results by two fields.
state, city, count(population) as total_population I am not sure how to group data by two fields. I will try to see how to wrtie the program. You can try as well.
Thanks for sharing an interesting scenario . I am reading that it can be done via composite keys ... In your example state and city together should form a key. A similar scenario is solved in
I will try to write the program and post results. Lets see how it goes