Unable to write to the standard tmp directory for JNA in DataStax Enterprise

Steps to fix write problem to the tmp directory.

cassandra-env.sh

The location of the cassandra-env.sh file depends on the type of installation:
Package installations /etc/dse/cassandra/cassandra-env.sh
Tarball installations installation_location/resources/cassandra/conf/cassandra-env.sh

The DataStax Enterprise Help Center also provides troubleshooting information.

Set JNA temporary path to be executable. In cassandra-env.sh, add the line:
JVM_OPTS="$JVM_OPTS -Djna.tmpdir=/var/tmp"