Reputation: 487
I have written a map-reduce job for the data in HBase. It contains multiple mappers and just a single reducer. The Reducer method takes in the data supplied from the mapper and do some analytic on it. After the processing is complete for all the data in HBase I wanted to write the data back to a file in HDFS through the single Reducer. Presently I am able to write the data to HDFS every time I get new one but unable to figure how to write the final conclusion to HDFS only at last.
Upvotes: 1
Views: 4984
Reputation: 5063
So, if you trying to write a final result from a single reducer to HDFS, you can try any one of the approaches below -
Details on 3:
Hope this helps.
Upvotes: 2