Description
if (numPartitions == 1 && !pipelinedShuffle) { //special case, where in only one partition is available. finalOutPath = outputFileHandler.getOutputFileForWrite(); finalIndexPath = outputFileHandler.getOutputIndexFileForWrite(indexFileSizeEstimate); skipBuffers = true; writer = new IFile.Writer(conf, rfs, finalOutPath, keyClass, valClass, codec, outputRecordsCounter, outputRecordBytesCounter); } else { skipBuffers = false; writer = null; }
The broadcast events don't update the file umasks, because they have 1 partition.
total 8.0K -rw------- 1 hive hadoop 15 Mar 27 20:30 file.out -rw-r----- 1 hive hadoop 32 Mar 27 20:30 file.out.index
ending up with readable index files and unreadable .out files.
Attachments
Attachments
Issue Links
- relates to
-
HIVE-23518 Tez may skip file permission update on intermediate output
- Resolved
-
TEZ-4185 Tez may skip file permission update on intermediate output
- Resolved