From df0ebb9d9532f2196d66c4e8deb12b4c10a11429 Mon Sep 17 00:00:00 2001 From: fjy Date: Tue, 26 Jan 2016 14:42:17 -0800 Subject: [PATCH] fix tutorial so indexing service can start up --- .../content/tutorials/tutorial-loading-batch-data.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/tutorials/tutorial-loading-batch-data.md b/docs/content/tutorials/tutorial-loading-batch-data.md index ed6ccacb9059..de673ee97f7b 100644 --- a/docs/content/tutorials/tutorial-loading-batch-data.md +++ b/docs/content/tutorials/tutorial-loading-batch-data.md @@ -63,12 +63,6 @@ To index the data, we are going to need the overlord, a historical node, and a c 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). -To start the Indexing Service: - -```bash -java -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath config/_common:config/overlord:lib/*: io.druid.cli.Main server overlord -``` - To start the Coordinator Node: ```bash @@ -81,6 +75,12 @@ To start the Historical Node: java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath config/_common:config/historical:lib/* io.druid.cli.Main server historical ``` +To start the Indexing Service: + +```bash +java -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath config/_common:config/overlord:lib/*: io.druid.cli.Main server overlord +``` + #### Index the Data 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.