Skip to content

Commit

Permalink
storage: Do not produce a .crc checksum file copying from hdfs. #TASK…
Browse files Browse the repository at this point in the history
…-6722
  • Loading branch information
j-coll committed Nov 29, 2024
1 parent 923651c commit 90010ac
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@ protected List<Path> concatMrOutputToLocal(Path mrOutdir, Path localOutput, bool
LOGGER.info(" Target {}: {}", getCompression(localOutput.getName()), localOutput.toUri());
LOGGER.info(" ---- ");

try (OutputStream os = getOutputStreamPlain(localOutput.getName(), localOutput.getFileSystem(getConf()).create(localOutput))) {
FileSystem localFfileSystem = localOutput.getFileSystem(getConf());
localFfileSystem.setWriteChecksum(false);
try (OutputStream os = getOutputStreamPlain(localOutput.getName(), localFfileSystem.create(localOutput))) {
for (int i = 0; i < paths.size(); i++) {
Path partFile = paths.get(i);
long partFileSize = fileSystem.getFileStatus(partFile).getLen();
Expand Down

0 comments on commit 90010ac

Please sign in to comment.