Summary/Reported Issue
java.lang.UnsatisfiedLinkError: /tmp/librocksdbjniXXXXXX.so: failed to map segment from shared object
Relevant Versions
All
Troubleshooting Steps
- review the permissions on /tmp to make sure it is writable by the user who is trying to start Dremio .
- Run the
mountcommand and look for the entry corresponding to/tmpto review its mount options checking fornoexec
Steps to Resolve
- If the permissions are set incorrectly, update them and try again. If the issue persists, review the mount options.
If the mount options include
noexec, configure Dremio to use a different temporary directory by updating thedremio.envand adding-Djava.io.tmpdir=/path/to/your/temp/directorytoDREMIO_JAVA_SERVER_EXTRA_OPTS.(Ensure /path/to/your/temp/directory is a directory where Dremio has write and execute permissions.)