cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Hoffstätte <holger.hoffstae...@googlemail.com>
Subject Re: Strange trouble with JNA on CentOS6
Date Tue, 27 May 2014 15:14:54 GMT
On Tue, 27 May 2014 09:26:41 -0500, Nate McCall wrote:

>> In the new setup /tmp was mounted as noexec. So it looks like JNA was
>> putting the native library here and then it was unable to execute it.
>>
>>
> If you wanted to keep /tmp noexec (not a bad idea depending on
> environment) you could also append the following to cassandra-env.sh:
> 
> JVM_OPTS="$JVM_OPTS -Djava.io.tmpdir=/some/other/dir"

Recent versions of JNA have a dedicated property "jna.tmpdir" for this, 
so that files that are supposed to go into /tmp (i.e. regular temp files) 
are unaffected. It has precedence over java.io.tmpdir.

-h


Mime
View raw message