GitHub user felixcheung opened a pull request:

    https://github.com/apache/spark/pull/16330

    [SPARK-18817][SPARKR][SQL] change derby log output and metastore 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, override Hadoop (Hive) Conf for JDO if not set (eg. 
hive-site.xml not loaded) for metastore_db
    
    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
    ```
    /tmp# ls RtmprNffBx/
    derby.log
    metastore_db
    ```


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/felixcheung/spark rderby

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16330.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16330
    
----
commit 338b3c46ed2435daf2e780eab1ed04be3ed0b3ea
Author: Felix Cheung <[email protected]>
Date:   2016-12-18T22:44:51Z

    set derby dir

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to