diff --git a/docs/content/Tutorial:-A-First-Look-at-Druid.md b/docs/content/Tutorial:-A-First-Look-at-Druid.md index fadc7fbc963..39d908dbbd0 100644 --- a/docs/content/Tutorial:-A-First-Look-at-Druid.md +++ b/docs/content/Tutorial:-A-First-Look-at-Druid.md @@ -75,9 +75,13 @@ Setting up Zookeeper Before we get started, we need to start Apache Zookeeper. ```bash -curl http://apache.osuosl.org/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz -o zookeeper-3.4.5.tar.gz -tar xzf zookeeper-3.4.5.tar.gz -cd zookeeper-3.4.5 +Download zookeeper from [http://www.apache.org/dyn/closer.cgi/zookeeper/](http://www.apache.org/dyn/closer.cgi/zookeeper/) +Install zookeeper. + +e.g. +curl http://www.gtlib.gatech.edu/pub/apache/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz -o zookeeper-3.4.6.tar.gz +tar xzf zookeeper-3.4.6.tar.gz +cd zookeeper-3.4.6 cp conf/zoo_sample.cfg conf/zoo.cfg ./bin/zkServer.sh start cd .. diff --git a/docs/content/Tutorial:-The-Druid-Cluster.md b/docs/content/Tutorial:-The-Druid-Cluster.md index 7b21b72aa69..bff9496ac3c 100644 --- a/docs/content/Tutorial:-The-Druid-Cluster.md +++ b/docs/content/Tutorial:-The-Druid-Cluster.md @@ -48,9 +48,13 @@ CREATE database druid; #### Setting up Zookeeper ```bash -curl http://apache.osuosl.org/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz -o zookeeper-3.4.5.tar.gz -tar xzf zookeeper-3.4.5.tar.gz -cd zookeeper-3.4.5 +Download zookeeper from [http://www.apache.org/dyn/closer.cgi/zookeeper/](http://www.apache.org/dyn/closer.cgi/zookeeper/) +Install zookeeper. + +e.g. +curl http://www.gtlib.gatech.edu/pub/apache/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz -o zookeeper-3.4.6.tar.gz +tar xzf zookeeper-3.4.6.tar.gz +cd zookeeper-3.4.6 cp conf/zoo_sample.cfg conf/zoo.cfg ./bin/zkServer.sh start cd .. diff --git a/server/src/main/java/io/druid/guice/http/DruidHttpClientConfig.java b/server/src/main/java/io/druid/guice/http/DruidHttpClientConfig.java index cf85087c98c..b8ad2e272b8 100644 --- a/server/src/main/java/io/druid/guice/http/DruidHttpClientConfig.java +++ b/server/src/main/java/io/druid/guice/http/DruidHttpClientConfig.java @@ -32,7 +32,7 @@ public class DruidHttpClientConfig { @JsonProperty @Min(0) - private int numConnections = 5; + private int numConnections = 20; @JsonProperty private Period readTimeout = new Period("PT15M"); diff --git a/server/src/main/java/io/druid/server/initialization/ServerConfig.java b/server/src/main/java/io/druid/server/initialization/ServerConfig.java index 4491f2e3874..6f432c85ec1 100644 --- a/server/src/main/java/io/druid/server/initialization/ServerConfig.java +++ b/server/src/main/java/io/druid/server/initialization/ServerConfig.java @@ -31,8 +31,7 @@ public class ServerConfig { @JsonProperty @Min(1) - // Jetty defaults are whack - private int numThreads = Math.max(10, (Runtime.getRuntime().availableProcessors() * 17) / 16 + 2); + private int numThreads = 30; @JsonProperty @NotNull