Skip to content

Commit

Permalink
Merge pull request #2338 from druid-io/fix-tutorial
Browse files Browse the repository at this point in the history
fix tutorial so indexing service can start up
  • Loading branch information
xvrl committed Jan 26, 2016
2 parents 504e240 + df0ebb9 commit 9d0dd7b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/content/tutorials/tutorial-loading-batch-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/*:<hadoop_config_path> io.druid.cli.Main server overlord
```

To start the Coordinator Node:

```bash
Expand All @@ -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/*:<hadoop_config_path> 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.
Expand Down

0 comments on commit 9d0dd7b

Please sign in to comment.