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

Steps to fix write problem to the tmp directory.

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"
The location of the cassandra-env.sh file depends on the type of installation:

Installer-Services
Package installations

/etc/dse/cassandra/cassandra-env.sh

Installer-No Services
Tarball installations

install_location/resources/cassandra/conf/cassandra-env.sh