[
https://issues.apache.org/jira/browse/CASSANDRA-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093110#comment-13093110
]
Eric Evans commented on CASSANDRA-3056:
---------------------------------------
cassandra-env.sh is used to setup the "environment", (the jvm and everything
that is passed to it); cassandra.yaml is really the wrong place for this. But,
I agree with Jonathan that it doesn't seem right to add cassandra-env.sh to the
list of first-start criteria, particularly for something that only a small
fraction of users will be concerned with.
Why not make this env-only? If CASSANDRA_HEAP_DUMP_PATH (or whatever) is set,
then use it to construct the argument (from cassandra-env.sh).
> Able to set path location of HeapDump in cassandra-env
> ------------------------------------------------------
>
> Key: CASSANDRA-3056
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3056
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.7.8, 0.8.4
> Reporter: David Talbott
> Priority: Minor
> Labels: lhf
> Attachments: CASSANDRA-3056-1.txt, CASSANDRA-3056-2.txt
>
>
> We should be able to designate the path location to put any perf dumps that
> are performed. By Default with this not set the perf dump can occur on the
> root disk and fill the drive.
> Should be able to solve this by simply inserting JVM_OPTS="$JVM_OPTS
> -XX:HeapDumpPath=<path to dir>" into cassandra-env.sh as a default option
> available and set.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira