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

Hossein Falaki commented on SPARK-22344:
----------------------------------------

I don't have solid pointer as to why we are creating these temp directories for 
hive. I think it would be nicer to fix them in Spark. It is a good practice not 
to leave files on /tmp.

> 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