in spark-job/src/main/java/org/apache/cassandra/diff/Differ.java [338:363]
public static void shutdown()
{
try
{
if (srcDiffCluster != null) {
srcDiffCluster.stop();
srcDiffCluster.close();
srcDiffCluster = null;
}
if (targetDiffCluster != null) {
targetDiffCluster.stop();
targetDiffCluster.close();
targetDiffCluster = null;
}
if (journalSession != null) {
journalSession.close();
journalSession.getCluster().close();
journalSession = null;
}
COMPARISON_EXECUTOR.shutdown();
}
catch (Exception e)
{
throw new RuntimeException(e);
}
}