提交 86ddc7da 编写于 作者: X Xavier Léauté

pretty !

上级 7fed4304
......@@ -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 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="http://druid.io/css/header.css">
<link rel="stylesheet" href="http://druid.io/css/footer.css">
<link rel="stylesheet" href="//druid.io/css/main.css">
<link rel="stylesheet" href="//druid.io/css/header.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:
```
```properties
druid.host=0.0.0.0: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.connectURI=
druid.host=127.0.0.1:8080
```
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:
```bash
```properties
druid.host=0.0.0.0: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:
```bash
```properties
druid.host=0.0.0.0: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:
```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)!
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册