Skip to content

Commit 387bd57

Browse files
author
Sun Rui
committed
[SPARKR-164] Temporary files used by SparkR accumulat as time goes on.
1 parent f04c6e0 commit 387bd57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/inst/worker/worker.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ if (isOutputSerialized) {
139139
}
140140

141141
close(outputCon)
142+
close(inputCon)
143+
unlink(inFileName)
142144

143145
# Restore stdout
144146
sink()

0 commit comments

Comments
 (0)