Re: Failed to mkdirs $HOME/.cassandra

2014-05-16 Thread Dave Brosius
For now you can edit the nodetool script itself by adding -Duser.home=/tmp as in "$JAVA" $JAVA_AGENT -cp "$CLASSPATH" -Xmx32m -Duser.home=/tmp -Dlogback.configurationFile=logback-tools.xml -Dstorage-config="$CASSANDRA_CONF" org.apache.cassandra.tools.NodeTool -p $JMX_PORT $ARGS

Failed to mkdirs $HOME/.cassandra

2014-05-15 Thread Bryan Talbot
How should nodetool command be run as the user "nobody"? The nodetool command fails with an exception if it cannot create a .cassandra directory in the current user's home directory. I'd like to schedule some nodetool commands to run with least privilege as cron jobs. I'd like to run them as the