spark returns error libsnappyjava.so: failed to map segment from shared object: Operation not permitted
This issue occurs when (for security reasons) /tmp
is mounted non-exec. I ran into the same problem and our sysadmin fixed it by remounting /tmp
as exec.