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/10/26 07:24:00 UTC

[jira] [Commented] (SPARK-22344) Prevent R CMD check from using /tmp

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

Felix Cheung commented on SPARK-22344:
--------------------------------------

this is what I see on a clean machine tracking access/create/modify to file system.

I run this command:
R CMD check --as-cran SparkR_2.1.2.tar.gz

And matching the report these are accessed:
/tmp/hive/
/tmp/hive/ubuntu/8201eb2c-8065-458c-b564-1e61b3dc5b7d/_tmp_space.db/
/tmp/ubuntu/8201eb2c-8065-458c-b564-1e61b3dc5b7d/

But these are also there:
~/.cache
/tmp/blockmgr-b27976f3-b66a-44e1-94c2-7360525af321/
/tmp/hsperfdata_ubuntu/
/tmp/1993ae7a-f553-4de5-9f74-6c8393e3cd5a_resources/
/tmp/8201eb2c-8065-458c-b564-1e61b3dc5b7d_resources/


> Prevent R CMD check from using /tmp
> -----------------------------------
>
>                 Key: SPARK-22344
>                 URL: https://issues.apache.org/jira/browse/SPARK-22344
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 1.6.3, 2.1.2, 2.2.0, 2.3.0
>            Reporter: Shivaram Venkataraman
>
> When R CMD check is run on the SparkR package it leaves behind files in /tmp which is a violation of CRAN policy. We should instead write to Rtmpdir. Notes from CRAN are below
> {code}
> Checking this leaves behind dirs
>    hive/$USER
>    $USER
> and files named like
>    b4f6459b-0624-4100-8358-7aa7afbda757_resources
> in /tmp, in violation of the CRAN Policy.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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