i m doing something on map reduce . For example i have some data set with the following
node_id node_id weight
1 2 7
1 3 20
2 3 3
3 1 5