mirror of https://github.com/apache/druid.git
Merge pull request #821 from metamx/minor-fix
Some minor fixes in docs and change jetty defaults
This commit is contained in:
commit
2c62b9e6e3
|
@ -75,9 +75,13 @@ Setting up Zookeeper
|
||||||
Before we get started, we need to start Apache Zookeeper.
|
Before we get started, we need to start Apache Zookeeper.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl http://apache.osuosl.org/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz -o zookeeper-3.4.5.tar.gz
|
Download zookeeper from [http://www.apache.org/dyn/closer.cgi/zookeeper/](http://www.apache.org/dyn/closer.cgi/zookeeper/)
|
||||||
tar xzf zookeeper-3.4.5.tar.gz
|
Install zookeeper.
|
||||||
cd zookeeper-3.4.5
|
|
||||||
|
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
|
cp conf/zoo_sample.cfg conf/zoo.cfg
|
||||||
./bin/zkServer.sh start
|
./bin/zkServer.sh start
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
@ -48,9 +48,13 @@ CREATE database druid;
|
||||||
#### Setting up Zookeeper
|
#### Setting up Zookeeper
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl http://apache.osuosl.org/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz -o zookeeper-3.4.5.tar.gz
|
Download zookeeper from [http://www.apache.org/dyn/closer.cgi/zookeeper/](http://www.apache.org/dyn/closer.cgi/zookeeper/)
|
||||||
tar xzf zookeeper-3.4.5.tar.gz
|
Install zookeeper.
|
||||||
cd zookeeper-3.4.5
|
|
||||||
|
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
|
cp conf/zoo_sample.cfg conf/zoo.cfg
|
||||||
./bin/zkServer.sh start
|
./bin/zkServer.sh start
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class DruidHttpClientConfig
|
||||||
{
|
{
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
@Min(0)
|
@Min(0)
|
||||||
private int numConnections = 5;
|
private int numConnections = 20;
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private Period readTimeout = new Period("PT15M");
|
private Period readTimeout = new Period("PT15M");
|
||||||
|
|
|
@ -31,8 +31,7 @@ public class ServerConfig
|
||||||
{
|
{
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
@Min(1)
|
@Min(1)
|
||||||
// Jetty defaults are whack
|
private int numThreads = Math.max(10, (Runtime.getRuntime().availableProcessors() * 17) / 16 + 2) + 30;
|
||||||
private int numThreads = Math.max(10, (Runtime.getRuntime().availableProcessors() * 17) / 16 + 2);
|
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|
Loading…
Reference in New Issue