Great! Thanks for the feedback gents.

Have a nice week.








From: Nate McCall
Sent: ‎Tuesday‎, ‎May‎ ‎27‎, ‎2014 ‎12‎:‎39‎ ‎PM
To: Cassandra Users





I missed that - thanks Holger!




On Tue, May 27, 2014 at 10:14 AM, Holger Hoffstätte 
<holger.hoffstae...@googlemail.com> wrote:

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







-- 

-----------------
Nate McCall
Austin, TX
@zznate

Co-Founder & Sr. Technical Consultant
Apache Cassandra Consulting
http://www.thelastpickle.com

Reply via email to