cookbook 'druid-example', '~> 0.0.1'
druid-example (1) Versions 0.0.1 Follow1
Installs an example druid single-node cluster
cookbook 'druid-example', '~> 0.0.1', :supermarket
knife supermarket install druid-example
knife supermarket download druid-example
druid-example cookbook
This cookbook builds a single-node Druid cluster with the wikipedia example dataset. It is meant to be an example of how to use the druid cookbook to build a full cluster.
Requirements
This cookbook is for Debian-based linux systems. It has been tested with Ubuntu using Vagrant as well as Amazon's AWS OpsWorks. Services are managed via upstart.
It also depends on these cookbooks:
- apt
- database
- druid
- mysql
- zookeeper
Attributes
None needed. See the [default recipe](recipes/default.rb) for attributes being set on the above cookbooks.
Usage
1. Run the druid-example::default recipe
Using Vagrant
To set up a virtual machine using Vagrant, get Vagrant and the Chef Development Kit. Then run:
% vagrant up
% vagrant ssh
Using something else
Include druid-example
in your node's run_list
:
{ "run_list": [ "recipe[druid-example::default]" ] }
2. Run the example client
From the machine:
% cd /opt/druid/current
% ./run_example_client.sh wikipedia
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
Copyright 2014 N3TWORK, Inc.<br>
Licensed under Apache 2.0<br>
Written by Yuval Oren (yuval@n3twork.com)
Dependent cookbooks
apt >= 0.0.0 |
database >= 0.0.0 |
druid >= 0.0.0 |
mysql >= 0.0.0 |
zookeeper >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: druid-example/metadata.rb:1
FC065: Ensure source_url is set in metadata: druid-example/metadata.rb:1
FC066: Ensure chef_version is set in metadata: druid-example/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: druid-example/metadata.rb:1
FC069: Ensure standardized license defined in metadata: druid-example/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.1 failed this metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: druid-example/metadata.rb:1
FC065: Ensure source_url is set in metadata: druid-example/metadata.rb:1
FC066: Ensure chef_version is set in metadata: druid-example/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: druid-example/metadata.rb:1
FC069: Ensure standardized license defined in metadata: druid-example/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.1 failed this metric
FC065: Ensure source_url is set in metadata: druid-example/metadata.rb:1
FC066: Ensure chef_version is set in metadata: druid-example/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: druid-example/metadata.rb:1
FC069: Ensure standardized license defined in metadata: druid-example/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.1 passed this metric
Testing File Metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.0.1 failed this metric
0.0.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number