From 49822e75916425c62884fe12f03c0a1094db0e00 Mon Sep 17 00:00:00 2001 From: vchella Date: Thu, 11 Feb 2016 15:13:06 -0800 Subject: [PATCH] Remove these out of yml files due to no support in C* 2.1 or higher in_memory_compaction_limit_in_mb memtable_total_space_in_mb multithreaded_compaction --- .../java/com/netflix/priam/defaultimpl/StandardTuner.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/priam/src/main/java/com/netflix/priam/defaultimpl/StandardTuner.java b/priam/src/main/java/com/netflix/priam/defaultimpl/StandardTuner.java index 124802292..51fdb304c 100644 --- a/priam/src/main/java/com/netflix/priam/defaultimpl/StandardTuner.java +++ b/priam/src/main/java/com/netflix/priam/defaultimpl/StandardTuner.java @@ -62,13 +62,13 @@ public void writeAllProperties(String yamlLocation, String hostname, String seed boolean enableIncremental = (config.getBackupHour() >= 0 && config.isIncrBackup()) && (CollectionUtils.isEmpty(config.getBackupRacs()) || config.getBackupRacs().contains(config.getRac())); map.put("incremental_backups", enableIncremental); map.put("endpoint_snitch", config.getSnitch()); - map.put("in_memory_compaction_limit_in_mb", config.getInMemoryCompactionLimit()); +// map.put("in_memory_compaction_limit_in_mb", config.getInMemoryCompactionLimit()); map.put("compaction_throughput_mb_per_sec", config.getCompactionThroughput()); map.put("partitioner", derivePartitioner(map.get("partitioner").toString(), config.getPartitioner())); - map.put("memtable_total_space_in_mb", config.getMemtableTotalSpaceMB()); +// map.put("memtable_total_space_in_mb", config.getMemtableTotalSpaceMB()); map.put("stream_throughput_outbound_megabits_per_sec", config.getStreamingThroughputMB()); - map.put("multithreaded_compaction", config.getMultithreadedCompaction()); +// map.put("multithreaded_compaction", config.getMultithreadedCompaction()); map.put("max_hint_window_in_ms", config.getMaxHintWindowInMS()); map.put("hinted_handoff_throttle_in_kb", config.getHintedHandoffThrottleKb());