cookbook 'storm-cluster', '= 0.0.1'
storm-cluster
(23) Versions
0.0.1
-
Follow2
Installs/Configures storm
cookbook 'storm-cluster', '= 0.0.1', :supermarket
knife supermarket install storm-cluster
knife supermarket download storm-cluster
storm-cookbook
This is chef cookbook for apache storm
Requirements
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'][:zookeeper_ip]</tt></td>
<td>String</td>
<td>Zookeeper server IP address</td>
<td><tt>192.168.50.3</tt></td>
</tr>
<tr>
<td><tt>['storm'][:nimbus_ip]</tt></td>
<td>String</td>
<td>Storm nimbus server IP address</td>
<td><tt>192.168.50.4</tt></td>
</tr>
</table>
Usage
First you have to add your storm package under files/default
as tar.gz format.
storm::default
e.g.
Just include storm
in your node's run_list
:
For nimbus node
json
{
"name":"nimbus_host",
"run_list": [
"storm::nimbus"
]
}
For supervisor node
json
{
"name":"supervisor_host",
"run_list": [
"storm::supervisor"
]
}
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)
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
- [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.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:5
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:1
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:2
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:3
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:4
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:5
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:3
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:4
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:5
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:3
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:4
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:5
0.0.1 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:5
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:1
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:2
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:3
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:4
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/attributes/default.rb:5
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:3
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:4
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/nimbus.rb:5
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:3
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:4
FC019: Access node attributes in a consistent manner: /tmp/cook/bd75d5af71669df67e3faffb/storm-cluster/recipes/supervisor.rb:5