mx4j does not work in 3.0.8

patch by Robert Stupp; reviewed by T Jake Luciani for CASSANDRA-12274
This commit is contained in:
Robert Stupp 2016-10-12 13:43:03 +02:00 committed by Robert Stupp
parent 703b151b15
commit d5f2d0f07f
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,5 @@
3.0.10
* mx4j does not work in 3.0.8 (CASSANDRA-12274)
* Abort cqlsh copy-from in case of no answer after prolonged period of time (CASSANDRA-12740)
* Avoid sstable corrupt exception due to dropped static column (CASSANDRA-12582)
* Make stress use client mode to avoid checking commit log size on startup (CASSANDRA-12478)

View File

@ -164,6 +164,10 @@ public class CassandraDaemon
if (FBUtilities.isWindows())
WindowsFailedSnapshotTracker.deleteOldSnapshots();
maybeInitJmx();
Mx4jTool.maybeLoad();
ThreadAwareSecurityManager.install();
logSystemInfo();
@ -195,8 +199,6 @@ public class CassandraDaemon
// This should be the first write to SystemKeyspace (CASSANDRA-11742)
SystemKeyspace.persistLocalMetadata();
maybeInitJmx();
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler()
{
public void uncaughtException(Thread t, Throwable e)
@ -349,8 +351,6 @@ public class CassandraDaemon
exitOrFail(1, "Fatal configuration error", e);
}
Mx4jTool.maybeLoad();
// Metrics
String metricsReporterConfigFile = System.getProperty("cassandra.metricsReporterConfigFile");
if (metricsReporterConfigFile != null)