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

Shivaram Venkataraman commented on SPARK-22344:
-----------------------------------------------

Thanks for investigating. Is 
`/tmp/ubuntu/8201eb2c-8065-458c-b564-1e61b3dc5b7d/` a symlink to 
`/tmp/hive/ubuntu/8201eb2c-8065-458c-b564-1e61b3dc5b7d/`  or are they just 
different directories ? 

We can disable the hsperfdata with the suggested flag and also change the 
java.io.tmpdir which should at least fix the blockmanager I think. I will open 
a PR for this.

Regarding Hive directories created even though its off, I have no idea why that 
is happening. [~falaki] [~hyukjin.kwon] do you have any idea on why this 
happens ?
 

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to