mirror of https://github.com/apache/druid.git
pretty !
This commit is contained in:
parent
7fed43041d
commit
86ddc7da7b
|
@ -11,8 +11,9 @@
|
||||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,300,700,800' rel='stylesheet' type='text/css'>
|
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,300,700,800' rel='stylesheet' type='text/css'>
|
||||||
<link rel="alternate" type="application/atom+xml" href="http://druid.io/feed">
|
<link rel="alternate" type="application/atom+xml" href="http://druid.io/feed">
|
||||||
|
|
||||||
<link rel="stylesheet" href="http://druid.io/css/main.css">
|
<link rel="stylesheet" href="//druid.io/css/main.css">
|
||||||
<link rel="stylesheet" href="http://druid.io/css/header.css">
|
<link rel="stylesheet" href="//druid.io/css/header.css">
|
||||||
<link rel="stylesheet" href="http://druid.io/css/footer.css">
|
<link rel="stylesheet" href="//druid.io/css/footer.css">
|
||||||
|
<link rel="stylesheet" href="//druid.io/css/syntax.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ Instructions for booting a Zookeeper and then Kafka cluster are available [here]
|
||||||
|
|
||||||
1. Create a valid configuration file similar to this called config/realtime/runtime.properties:
|
1. Create a valid configuration file similar to this called config/realtime/runtime.properties:
|
||||||
|
|
||||||
```
|
```properties
|
||||||
druid.host=0.0.0.0:8080
|
druid.host=0.0.0.0:8080
|
||||||
druid.port=8080
|
druid.port=8080
|
||||||
|
|
||||||
|
@ -91,7 +91,6 @@ Instructions for booting a Zookeeper and then Kafka cluster are available [here]
|
||||||
druid.database.password=diurd
|
druid.database.password=diurd
|
||||||
druid.database.connectURI=
|
druid.database.connectURI=
|
||||||
druid.host=127.0.0.1:8080
|
druid.host=127.0.0.1:8080
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Create a valid realtime configuration file similar to this called realtime.spec:
|
2. Create a valid realtime configuration file similar to this called realtime.spec:
|
||||||
|
@ -239,7 +238,7 @@ If you've already setup a realtime node, be aware that although you can run mult
|
||||||
|
|
||||||
1. Setup a configuration file called config/master/runtime.properties similar to:
|
1. Setup a configuration file called config/master/runtime.properties similar to:
|
||||||
|
|
||||||
```bash
|
```properties
|
||||||
druid.host=0.0.0.0:8081
|
druid.host=0.0.0.0:8081
|
||||||
druid.port=8081
|
druid.port=8081
|
||||||
|
|
||||||
|
@ -294,7 +293,7 @@ If you've already setup a realtime node, be aware that although you can run mult
|
||||||
|
|
||||||
1. Create a configuration file in config/compute/runtime.properties similar to:
|
1. Create a configuration file in config/compute/runtime.properties similar to:
|
||||||
|
|
||||||
```bash
|
```properties
|
||||||
druid.host=0.0.0.0:8082
|
druid.host=0.0.0.0:8082
|
||||||
druid.port=8082
|
druid.port=8082
|
||||||
|
|
||||||
|
@ -404,7 +403,9 @@ Now its time to run the Hadoop [Batch-ingestion](Batch-ingestion.html) job, Hado
|
||||||
2. Now run the job, with the config pointing at batchConfig.json:
|
2. Now run the job, with the config pointing at batchConfig.json:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Ddruid.realtime.specFile=realtime.spec -classpath lib/* com.metamx.druid.indexer.HadoopDruidIndexerMain batchConfig.json
|
java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 \
|
||||||
|
-Ddruid.realtime.specFile=realtime.spec -classpath lib/* \
|
||||||
|
com.metamx.druid.indexer.HadoopDruidIndexerMain batchConfig.json
|
||||||
```
|
```
|
||||||
|
|
||||||
You can now move on to [Querying Your Data](Querying-Your-Data.html)!
|
You can now move on to [Querying Your Data](Querying-Your-Data.html)!
|
||||||
|
|
Loading…
Reference in New Issue