Skip to content

Commit

Permalink
[hotfix-#1052][hive] Replace the call order of HDFSOutputFormat Close…
Browse files Browse the repository at this point in the history
… and finalizeGlobal
  • Loading branch information
Paddy0523 authored and FlechazoW committed Jul 29, 2022
1 parent 8a45308 commit 54b01f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ public void closeInternal() {
outputFormatMap.entrySet()) {
try {
BaseHdfsOutputFormat format = entry.getValue().getRight();
format.finalizeGlobal(numTasks);
format.close();
format.finalizeGlobal(numTasks);
} catch (IOException e) {
LOG.warn("close {} outputFormat error", entry.getKey(), e);
}
Expand Down

0 comments on commit 54b01f1

Please sign in to comment.