You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Felix Cheung (JIRA)" <ji...@apache.org> on 2017/03/19 17:41:41 UTC

[jira] [Commented] (SPARK-18817) Ensure nothing is written outside R's tempdir() by default

    [ https://issues.apache.org/jira/browse/SPARK-18817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931848#comment-15931848 ] 

Felix Cheung commented on SPARK-18817:
--------------------------------------

we have more discussions on the PR thread and agreed that spark-warehouse, metastore_db are really user data that we wouldn't want it to go away by default under tempdir. (these are managed table (ie. with data) and metadata)

we are making change to move derby.log only.

> Ensure nothing is written outside R's tempdir() by default
> ----------------------------------------------------------
>
>                 Key: SPARK-18817
>                 URL: https://issues.apache.org/jira/browse/SPARK-18817
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SparkR
>            Reporter: Brendan Dwyer
>            Assignee: Felix Cheung
>            Priority: Critical
>             Fix For: 2.1.1, 2.2.0
>
>
> Per CRAN policies
> https://cran.r-project.org/web/packages/policies.html
> {quote}
> - Packages should not write in the users’ home filespace, nor anywhere else on the file system apart from the R session’s temporary directory (or during installation in the location pointed to by TMPDIR: and such usage should be cleaned up). Installing into the system’s R installation (e.g., scripts to its bin directory) is not allowed.
> Limited exceptions may be allowed in interactive sessions if the package obtains confirmation from the user.
> - Packages should not modify the global environment (user’s workspace).
> {quote}
> Currently "spark-warehouse" gets created in the working directory when sparkR.session() is called.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org