Skip to content
Snippets Groups Projects
  • Felix Cheung's avatar
    422aa67d
    [SPARK-18817][SPARKR][SQL] change derby log output to temp dir · 422aa67d
    Felix Cheung authored
    ## 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.
    422aa67d
    History
    [SPARK-18817][SPARKR][SQL] change derby log output to temp dir
    Felix Cheung authored
    ## 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.
run-all.R 1.24 KiB