cookbook 'drill', '= 0.0.1'
drill (4) Versions 0.0.1 Follow1
Installs/Configures Apache Drill cluster
cookbook 'drill', '= 0.0.1', :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
<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
- 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.
Foodcritic Metric
0.0.1 passed this metric
0.0.1 passed this metric