On Thu, Nov 30, 2017 at 1:38 AM, Peng Xiao <2535...@qq.com> wrote: > looks we are not able to enable –XX:PrintSafepointStatisticsCount=1 > in cassandra-env.sh > Could anyone please advise? > > ...
> Error: Could not find or load main class –XX: > PrintSafepointStatisticsCount=1 > Hm, not sure how are you doing it, but it boils down to adding a line somewhere in the cassandra-env.sh like this one: JVM_OPTS="$JVM_OPTS -XX:PrintSafepointStatisticsCount=1" OR, if you're using a newer version (3.0 or newer), the following in the jvm.options file: -XX:PrintSafepointStatisticsCount=1 Cheers, -- Alex