You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/05/05 01:19:48 UTC

[GitHub] [pulsar] xuesongxs commented on issue #12695: Unable to load the RocksDB shared library

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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org