cookbook 'drill', '~> 0.0.4'
drill (4) Versions 0.0.4 Follow1
Installs/Configures Apache Drill cluster
cookbook 'drill', '~> 0.0.4', :supermarket
knife supermarket install drill
knife supermarket download drill
drill-cookbook
This is a chef cookbook for Apache Drill
Download
Requirements
Chef: 11.18.0+
java
Attributes
storm::default
Key | Type | Description | Default |
---|---|---|---|
['drill']['install_dir'] | String | Drill package is installed here. | /opt/drill |
['drill']['version'] | String | Drill version. | 0.8.0 |
['drill']['mirror_url'] | String | Drill package is downloaded from here. | http://ftp.yz.yamagata-u.ac.jp/pub/network/apache/drill/drill-#{node['drill']['version']}/apache-drill-#{node['drill']['version']}.tar.g |
['drill']['install_method'] | String | Set to remote_file to download from drill.apache.org. | cookbook_file |
['drill']['cluster_id'] | String | The ID of Drillbits cluster. | drillbits1 |
['drill']['zk_connect'] | String | ZooKeeper host name and port. | localhost:2181 |
['drill']['MAX_HEAP'] | String | Max heap size used by drill JVM. | 4G |
['drill']['MAX_DIRECT_MEMORY'] | String | You can increase the direct buffer memory which is distinct from heap. | 8G |
Usage
If you use cookbook_file
option, first you have to add your drill package under files/default
as tar.gz format.
$ cp cookbooks/drill/files/default/
Recipes
For setting up drillbit configuration.
drillbit
For nimbus node
{ "name":"drillbit", "run_list": [ "drill::drillbit" ] }
Start drillbit
For starting drillbit
{ "name":"drillbit_start", "run_list": [ "drill::drillbit_start" ] }
It is also necessary to construct zookeeper quorum.
ZooKeeper
{ "name": "zookeeper", "run_list": [ "drill::zookeeper" ] }
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 |
zookeeper >= 0.0.0 |
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.4 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.4 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.4 failed this metric
FC066: Ensure chef_version is set in metadata: drill/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: drill/metadata.rb:1
FC069: Ensure standardized license defined in metadata: drill/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.4 passed this metric
Testing File Metric
0.0.4 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.4 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.4 failed this metric
0.0.4 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.4 failed this metric
FC066: Ensure chef_version is set in metadata: drill/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: drill/metadata.rb:1
FC069: Ensure standardized license defined in metadata: drill/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.4 passed this metric
Testing File Metric
0.0.4 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.4 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.4 failed this metric
FC067: Ensure at least one platform supported in metadata: drill/metadata.rb:1
FC069: Ensure standardized license defined in metadata: drill/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.4 passed this metric
Testing File Metric
0.0.4 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.4 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.4 failed this metric
0.0.4 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