xuesongxs commented on issue #12695: URL: https://github.com/apache/pulsar/issues/12695#issuecomment-1118077762
> I'm getting this error on new Debian system where exception is caused by: Caused by: java.lang.UnsatisfiedLinkError: /tmp/librocksdbjni205253776051654618.so: /tmp/librocksdbjni205253776051654618.so: failed to map segment from shared object > > I traced error to linux /tmp/ folder which is mounted with 'noexec' flag. Because if this, library can't be loaded to process. Solution is to remount /tmp/ folder without noexec flag or set environment variable before starting pulsar: > > ``` > export ROCKSDB_SHAREDLIB_DIR=~/tmp/ > mkdir ~/tmp/ > ``` I agree, but rocksdbjni use String DEFAULT_TEMP_DIR = "/tmp", rocksdbjni needs to be modified. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
