Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.12.0
-
None
Description
Hi,
OrcOutputFormat#getRecordWriter creates OrcRecordWriter instance using a file with relative path actually.
return new OrcRecordWriter(new Path(name), OrcFile.writerOptions(conf));
The fix should be very simple, just as RCFileOutputFormat#getRecordWriter, append work output path as the parent:
Path outputPath = getWorkOutputPath(job);
Path file = new Path(outputPath, name);