Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
-
all
Description
Add OutputFormat methods like:
/** Called to initialize output for this job. */
void initialize(JobConf job) throws IOException;
/** Called to finalize output for this job. */
void commit(JobConf job) throws IOException;
In the base implemenation for FileSystem output, initialize() might then create a temporary directory for the job, removing any that already exists, and commit could rename the temporary output directory to the final name.
The existing checkOutputSpecs() would continue to throw an exception if the final output already exists.
Attachments
Attachments
Issue Links
- blocks
-
HADOOP-1121 Recovering running/scheduled jobs after JobTracker failure
- Closed
- is blocked by
-
HADOOP-1587 Tasks run by MiniMRCluster don't get sysprops from TestCases
- Closed