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

Patrick Wendell commented on SPARK-2881:
----------------------------------------

Actually since this uses a static system property it might be better to just do 
[~mridul]'s suggestion and keep this simple. One possibility is just a static 
code block in the Snappy compression codec itself that sets it to a random sub 
directory of /tmp/

> Snappy is now default codec - could lead to conflicts since uses /tmp
> ---------------------------------------------------------------------
>
>                 Key: SPARK-2881
>                 URL: https://issues.apache.org/jira/browse/SPARK-2881
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.1.0
>            Reporter: Thomas Graves
>            Priority: Blocker
>
> I was using spark master branch and I ran into an issue with Snappy since its 
> now the default codec for shuffle. 
> The issue was that someone else had run with snappy and it created 
> /tmp/snappy-*.so but it had restrictive permissions so I was not able to use 
> it or remove it.   This caused my spark job to not start.  
> I was running in yarn client mode at the time.  Yarn cluster mode shouldn't 
> have this issue since we change the java.io.tmpdir. 
> I assume this would also affect standalone mode.
> I'm not sure if this is a true blocker but wanted to file it as one at first 
> and let us decide.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to