-
- Downloads
[SPARK-18817][SPARKR][SQL] change derby log output to temp dir
## What changes were proposed in this pull request? Passes R `tempdir()` (this is the R session temp dir, shared with other temp files/dirs) to JVM, set System.Property for derby home dir to move derby.log ## How was this patch tested? Manually, unit tests With this, these are relocated to under /tmp ``` # ls /tmp/RtmpG2M0cB/ derby.log ``` And they are removed automatically when the R session is ended. Author: Felix Cheung <felixcheung_m@hotmail.com> Closes #16330 from felixcheung/rderby.
Showing
- R/pkg/R/sparkR.R 14 additions, 1 deletionR/pkg/R/sparkR.R
- R/pkg/inst/tests/testthat/test_sparkSQL.R 34 additions, 0 deletionsR/pkg/inst/tests/testthat/test_sparkSQL.R
- R/pkg/tests/run-all.R 6 additions, 0 deletionsR/pkg/tests/run-all.R
- core/src/main/scala/org/apache/spark/api/r/RRDD.scala 9 additions, 0 deletionscore/src/main/scala/org/apache/spark/api/r/RRDD.scala
Loading
Please register or sign in to comment