storm job from mesos/4
Github source:
b8adfbe8
or
master branch
Properties¶
mesos
¶
principal
¶Mesos principal
secret
¶Mesos secret
zk_state
¶Path in ZooKeeper for storing Apache Mesos state
- Default
mesos
storm
¶
group
¶Group which will own the Storm services
- Default
vcap
java_heap_size
¶Java Heap Size for Marathon
- Default
1024m
logrotate
¶
frequency
¶Frequency to run logrotate for Storm log files (crontab five time and date fields)
- Default
0 * * * *
rotate
¶Number of times Storm log files are rotated before being removed
- Default
"7"
size
¶Size before Storm log files are rotated
- Default
10M
mesos
¶
allowed_hosts
¶Allowed hosts to run topology, which takes hostname list as a white list
- Default
[]
disallowed_hosts
¶Disallowed hosts to run topology, which takes hostname list as a back list
- Default
[]
framework_checkpoint
¶Enable/disable framework checkpoint
- Default
true
framework_name
¶Framework name
- Default
Storm
framework_role
¶Framework role to use
- Default
'*'
local_file_server_port
¶Port for the local file server to bind to (defaults to a random port)
master_failover_timeout_secs
¶Framework failover timeout in second
- Default
3600
offer_lru_cache_size
¶LRU cache size
- Default
1000
supervisor_suicide_inactive_timeout_secs
¶Seconds to wait before supervisor to suicides if supervisor has no task to run
- Default
120
topology
¶
mesos
¶
executor_cpu
¶CPUs per executor
- Default
1
executor_mem_mb
¶Memory (in MiB) per executor
- Default
1024
worker_cpu
¶CPUs per worker
- Default
1
worker_mem_mb
¶Memory (in MiB) per worker
- Default
1024
ui
¶
port
¶Storm UI port
- Default
80
user
¶User which will own the Storm services
- Default
root
zk_state
¶Path in ZooKeeper for storing Storm state
- Default
storm
zookeeper
¶
client_port
¶Port at which the clients will connect to Apache Zookeeper
- Default
2181
servers
¶List of all Apache Zookeeper server host IP/hostnames
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/storm/
directory
(learn more).
bin/job_properties.sh
(frombin/job_properties.sh.erb
)bin/storm_nimbus_ctl
(frombin/storm_nimbus_ctl.erb
)bin/storm_ui_ctl
(frombin/storm_ui_ctl.erb
)config/cluster.xml
(fromconfig/cluster.xml.erb
)config/logrotate.conf
(fromconfig/logrotate.conf.erb
)config/storm.yaml
(fromconfig/storm.yaml.erb
)config/storm_logrotate.cron
(fromconfig/storm_logrotate.cron.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.