Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ java.library.path: "/usr/local/lib:/opt/local/lib:/usr/lib"

### storm.* configs are general configurations
# the local dir is where jars are kept
storm.local.dir: "storm-local"
storm.local.dir: "/var/storm-local"
storm.log4j2.conf.dir: "log4j2"
storm.zookeeper.servers:
- "localhost"
Expand Down
7 changes: 5 additions & 2 deletions docs/documentation/Setting-up-a-Storm-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,13 @@ storm.zookeeper.servers:

If the port that your Zookeeper cluster uses is different than the default, you should set **storm.zookeeper.port** as well.

2) **storm.local.dir**: The Nimbus and Supervisor daemons require a directory on the local disk to store small amounts of state (like jars, confs, and things like that). You should create that directory on each machine, give it proper permissions, and then fill in the directory location using this config. For example:
2) **storm.local.dir**: The Nimbus and Supervisor daemons require a directory on the local disk to store small amounts of state (like jars, confs, and things like that).
You should create that directory on each machine, give it proper permissions, and then fill in the directory location using this config.
You'd better set it to absolute path rather than relative path,otherwise it will cause unexpected behavior when you launch daemons
from different directories.For example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space between . and For


```yaml
storm.local.dir: "/mnt/storm"
storm.local.dir: "/var/storm-local"
```

3) **nimbus.host**: The worker nodes need to know which machine is the master in order to download topology jars and confs. For example:
Expand Down
2 changes: 1 addition & 1 deletion storm-core/src/clj/backtype/storm/config.clj
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
;
; ### storm.* configs are general configurations
; # the local dir is where jars are kept
; storm.local.dir: "/mnt/storm"
; storm.local.dir: "/var/storm-local"
; storm.zookeeper.port: 2181
; storm.zookeeper.root: "/storm"

Expand Down