I'm not sure what you mean. We will need to have a different base class if we want to be able to override getDefaultWorkFile, right? And we need to change that in the mapreduce FileInputFormat we are given, so I'm not sure how to do that besides inheritance?

Also, this is being done in DeprecatedFileOutputFormatWrapper? Or do you mean to do it in DeprecatedOutputFormatWrapper?