.put("processors", 1) // We could experiment ramping this up to match # cores - num reducers per node
.put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, numShardsPerIndex)
.put("node.name", nodeName)
.put("path.data", workingDir)
.put("index.refresh_interval", -1)
<BUG>.put("index.translog.flush_threshold_ops", 10000) // Aggressive flushing helps keep the memory footprint below the yarn container max. TODO: Make configurable
</BUG>
.put("bootstrap.mlockall", true)
.put("cluster.routing.allocation.disk.watermark.low", 99) // Nodes don't form a cluster, so routing allocations don't matter
.put("cluster.routing.allocation.disk.watermark.high", 99)

.put("processors", 1) // We could experiment ramping this up to match # cores - num reducers per node
.put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, numShardsPerIndex)
.put("node.name", nodeName)
.put("path.data", workingDir)
.put("index.refresh_interval", -1)
.put("index.translog.flush_threshold_size", "128mb") // Aggressive flushing helps keep the memory footprint below the yarn container max. TODO: Make configurable
.put("bootstrap.mlockall", true)
.put("cluster.routing.allocation.disk.watermark.low", 99) // Nodes don't form a cluster, so routing allocations don't matter
.put("cluster.routing.allocation.disk.watermark.high", 99)
