-
Notifications
You must be signed in to change notification settings - Fork 66
/
storm.yaml
65 lines (52 loc) · 2.24 KB
/
storm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Please change these for your cluster
# to reflect your cluster settings
# -----------------------------------------------------------
mesos.master.url: "zk://localhost:2181/mesos"
storm.zookeeper.servers:
- "localhost"
# -----------------------------------------------------------
# Worker resources
topology.mesos.worker.cpu: 1.0
# Worker heap with 25% overhead
topology.mesos.worker.mem.mb: 512
worker.childopts: "-Xmx384m"
# Supervisor resources
topology.mesos.executor.cpu: 0.1
topology.mesos.executor.mem.mb: 500 # Supervisor memory, with 20% overhead
supervisor.childopts: "-Xmx400m"
# Configs for Resource Aware Scheduler
topology.worker.max.heap.size.mb: 768.0 # default max heap size, can be overriden in topologies' configs
# By default this framework will launch a logviewer mesos executor on each mesos host where Storm workers are launched.
# Set to false to disable logviewer from being automatically launched.
mesos.logviewer.sidecar.enabled: true
# This port must be available on every mesos host where Storm workers are launched.
logviewer.port: 8000
logviewer.childopts: "-Xmx128m"
logviewer.cleanup.age.mins: 10080
logviewer.appender.name: "A1"
# Use the public Mesosphere Storm build
# Please note that it won't work with other distributions.
# You may want to make this empty if you use `mesos.container.docker.image` instead.
# mesos.executor.uri: "file:///usr/local/storm/storm-mesos-0.9.6.tgz"
# Alternatively, use a Docker image instead of URI. If an image is specified,
# Docker will be used instead of Mesos containers.
mesos.container.docker.image: "mesosphere/storm"
# Use Netty to avoid ZMQ dependencies
storm.messaging.transport: "org.apache.storm.messaging.netty.Context"
storm.local.dir: "storm-local"
# role must be one of the mesos-master's roles defined in the --roles flag
#
mesos.framework.role: "*"
mesos.framework.checkpoint: true
mesos.framework.name: "Storm"
# For setting up the necessary mesos authentication see mesos authentication page
# and set the mesos-master flags --credentials, --authenticate, --acls, and --roles.
#
#mesos.framework.principal: "storm"
# The "secret" phrase cannot be followed by a NL
#
#mesos.framework.secret.file: "storm-local/secret"
#mesos.allowed.hosts:
# - host1
#mesos.disallowed.hosts:
# - host1