cookbook 'storm-cluster', '= 0.0.18'
storm-cluster
(23) Versions
0.0.18
-
Follow2
Installs/Configures storm
cookbook 'storm-cluster', '= 0.0.18', :supermarket
knife supermarket install storm-cluster
knife supermarket download storm-cluster
storm-cookbook
This is a chef cookbook for apache storm
Download
storm-cluster: Chef Supermarket
Requirements
Chef: 11.18.0+
java
Attributes
storm::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['storm']['package']</tt></td>
<td>String</td>
<td>Storm package name for constructing storm cluster</td>
<td><tt>apache-storm-0.10.0-SNAPSHOT</tt></td>
</tr>
<tr>
<td><tt>['storm']['version']</tt></td>
<td>String</td>
<td>Storm version</td>
<td><tt>0.10.0-SNAPSHOT</tt></td>
</tr>
<tr>
<td><tt>['storm']['install_dir']</tt></td>
<td>String</td>
<td>Storm package install directory</td>
<td><tt>/usr/share/storm</tt></td>
</tr>
<tr>
<td><tt>['storm']['install_method']</tt></td>
<td>String</td>
<td>Set to remote_file to download from storm.apache.org</td>
<td><tt>cookbook_file</tt></td>
</tr>
</table>
All storm.yaml options are supported through the node['storm']['storm_yaml'] not object. See the attributes/storm_yaml.rb for more details.
At a minimum you will need create a role/environment/wrapper with the following options:
<pre>
"storm": {
"storm_yaml": {
"nimbus.host": "nimbus.example.com",
"storm.zookeeper.servers": [
"zookeeper1.example.com"
]
}
}
</pre>
Usage
First you have to add your storm package under files/default
as tar.gz format.
$ cp cookbooks/storm-cluster/files/default/
Recipes
e.g.
Just include storm
in your node's run_list
:
storm::nimbus
For nimbus node
json
{
"name":"nimbus_host",
"run_list": [
"storm::nimbus"
]
}
storm::supervisor
For supervisor node
json
{
"name":"supervisor_host",
"run_list": [
"storm::supervisor"
]
}
storm::drpc
For DRPC server
json
{
"name": "drpc_host",
"run_list": [
"storm::drpc"
]
}
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors:
* Kai Sasaki(Lewuathe)
* Bill Warner(TD-4242)
This cookbook is distributed under MIT License
Dependent cookbooks
java >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
storm CHANGELOG
This file is used to list changes made in each version of the storm cookbook.
0.1.0.next
- Major changes to how the storm.yaml template is renderd
- depricated zookeeper_ip and nimbus_ip in favor of setting directly in storm->storm_yaml
- update to spec tests to reflect changes
0.1.0
- [Kai Sasaki] - Initial release of storm
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
0.0.18 passed this metric
0.0.18 passed this metric