I want to execute an HDFS operation at the successful completion of my Job. To set this up I capture the Configuration in my Job and then add a onCompleted flow listener which closes over the Configuration variable.
It seems that this isn't allowed, and I get the error seen in the subject line.
Now why one cannot serialize a hadoop Configuration is beyond me, given that one of its methods gives you a way to serialize the configuration to XML.
So my question is, before I go and manually write out the Configuration to a buffer as XML and close over that buffer... is there a better approach I could be taking to accomplish this task?
-Chris