The close
method inherited from MapReduceBase
has no argument:
public void close()
So I don\'t have OutputC
It is unfortunate you are using the old API. The new API has a cleanup method (complements setup
).
I wonder if Hadoop will let you cheat and store the OutputCollector
in a private data member in your Reducer class, then refer to that in the close method. I'm guessing you can't, but it might be worth a try.