Skip to content

Commit 9d0dd7b

Browse files
committed
Merge pull request #2338 from druid-io/fix-tutorial
fix tutorial so indexing service can start up
2 parents 504e240 + df0ebb9 commit 9d0dd7b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/content/tutorials/tutorial-loading-batch-data.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ To index the data, we are going to need the overlord, a historical node, and a c
6363

6464
Note: If Zookeeper isn't running, you'll have to start it again as described in [The Druid Cluster](../tutorials/tutorial-the-druid-cluster.html).
6565

66-
To start the Indexing Service:
67-
68-
```bash
69-
java -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath config/_common:config/overlord:lib/*:<hadoop_config_path> io.druid.cli.Main server overlord
70-
```
71-
7266
To start the Coordinator Node:
7367

7468
```bash
@@ -81,6 +75,12 @@ To start the Historical Node:
8175
java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath config/_common:config/historical:lib/* io.druid.cli.Main server historical
8276
```
8377

78+
To start the Indexing Service:
79+
80+
```bash
81+
java -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath config/_common:config/overlord:lib/*:<hadoop_config_path> io.druid.cli.Main server overlord
82+
```
83+
8484
#### Index the Data
8585

8686
There are two ways we can load the data, depending on the data volume. The simplest method of loading data is to use the [Index Task](../misc/tasks.html). Index tasks can load batch data without any external dependencies. They are however, slow when the data volume exceeds 1G.

0 commit comments

Comments
 (0)