Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

drill (4) Versions 0.0.2

Installs/Configures Apache Drill cluster

Policyfile
Berkshelf
Knife
cookbook 'drill', '= 0.0.2', :supermarket
cookbook 'drill', '= 0.0.2'
knife supermarket install drill
knife supermarket download drill
README
Dependencies
Quality 100%

drill-cookbook

drill LICENSE

This is a chef cookbook for Apache Drill

Download

drill: 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>['drill']['install_dir']</tt></td>
<td>String</td>
<td>Drill package is installed here.</td>
<td><tt>/opt/drill</tt></td>
</tr>

<tr>
<td><tt>['drill']['version']</tt></td>
<td>String</td>
<td>Drill version.</td>
<td><tt>0.8.0</tt></td>
</tr>

<tr>
<td><tt>['drill']['mirror_url']</tt></td>
<td>String</td>
<td>Drill package is downloaded from here.</td>
<td><tt>http://ftp.yz.yamagata-u.ac.jp/pub/network/apache/drill/drill-#{node['drill']['version']}/apache-drill-#{node['drill']['version']}.tar.g</tt></td>
</tr>

<tr>
<td><tt>['drill']['install_method']</tt></td>
<td>String</td>
<td>Set to remote_file to download from drill.apache.org.</td>
<td><tt>cookbook_file</tt></td>
</tr>

<tr>
<td><tt>['drill']['cluster_id']</tt></td>
<td>String</td>
<td>The ID of Drillbits cluster.</td>
<td><tt>drillbits1</tt></td>
</tr>

<tr>
<td><tt>['drill']['zk_connect']</tt></td>
<td>String</td>
<td>ZooKeeper host name and port.</td>
<td><tt>localhost:2181</tt></td>
</tr>

<tr>
<td><tt>['drill']['MAX_HEAP']</tt></td>
<td>String</td>
<td>Max heap size used by drill JVM.</td>
<td><tt>4G</tt></td>
</tr>

<tr>
<td><tt>['drill']['MAX_DIRECT_MEMORY']</tt></td>
<td>String</td>
<td>You can increase the direct buffer memory which is distinct from heap.</td>
<td><tt>8G</tt></td>
</tr>
</table>

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
json
{
"name":"drillbit",
"run_list": [
"drill::drillbit"
]
}

Start drillbit

For starting drillbit
json
{
"name":"drillbit_start",
"run_list": [
"drill::drillbit_start"
]
}

It is also necessary to construct zookeeper quorum.

ZooKeeper

{
  "name": "zookeeper",
  "run_list": [
    "drill::zookeeper"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. 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.

Foodcritic Metric
            

0.0.2 passed this metric