Skip to content

Commit fccfe6c

Browse files
committed
Merge pull request apache#127 from sun-rui/SPARKR-164
[SPARKR-164] Temporary files used by SparkR accumulat as time goes on.
2 parents cb6873e + 387bd57 commit fccfe6c

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)