From d3e838ff34912eb991c6042ba7f99492f6627132 Mon Sep 17 00:00:00 2001 From: Zhihui Jiao Date: Sat, 1 Aug 2015 11:26:37 +0800 Subject: [PATCH] Fix configuration for javaOpts, remove quotation marks --- docs/content/configuration/simple-cluster.md | 2 +- examples/config/middleManager/runtime.properties | 2 +- examples/config/overlord/runtime.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/configuration/simple-cluster.md b/docs/content/configuration/simple-cluster.md index 10f88cd500e..2f434db6551 100644 --- a/docs/content/configuration/simple-cluster.md +++ b/docs/content/configuration/simple-cluster.md @@ -35,7 +35,7 @@ Configuration: -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Ddruid.indexer.queue.startDelay=PT0M --Ddruid.indexer.runner.javaOpts="-server -Xmx1g" +-Ddruid.indexer.runner.javaOpts=-server -Xmx1g -Ddruid.indexer.fork.property.druid.processing.numThreads=1 -Ddruid.indexer.fork.property.druid.computation.buffer.size=100000000 ``` diff --git a/examples/config/middleManager/runtime.properties b/examples/config/middleManager/runtime.properties index 88b6a199cc5..fc7748fc869 100644 --- a/examples/config/middleManager/runtime.properties +++ b/examples/config/middleManager/runtime.properties @@ -22,5 +22,5 @@ # druid.indexer.runner.type=remote druid.service=middleManager -druid.indexer.runner.javaOpts="-server -Xmx256m" +druid.indexer.runner.javaOpts=-server -Xmx256m diff --git a/examples/config/overlord/runtime.properties b/examples/config/overlord/runtime.properties index 403e929c037..33d6c5d562f 100644 --- a/examples/config/overlord/runtime.properties +++ b/examples/config/overlord/runtime.properties @@ -24,7 +24,7 @@ druid.service=overlord # This is not recommended for production. druid.indexer.queue.startDelay=PT0M # This setting is too small for real production workloads -druid.indexer.runner.javaOpts="-server -Xmx256m" +druid.indexer.runner.javaOpts=-server -Xmx256m # These settings are also too small for real production workloads # Please see our recommended production settings in the docs (http://druid.io/docs/latest/Production-Cluster-Configuration.html) druid.indexer.fork.property.druid.processing.numThreads=1