Version information
Start using this module
Add this module to your Puppetfile:
mod 'viirya-hbase', '0.0.9'
Learn more about managing modules with a PuppetfileDocumentation
Puppet module for deploying Hbase in fully-distributed mode
This module deploys Hbase in fully-distributed on a cluster of machines. It is tested with Apache Hbase 0.98.2 and Apache Hadoop 2.2.0 (deployed using puppet module viirya/hadoop) under puppet agent/master environment.
Usage
After installing this module in puppet master node, in site.pp, defining:
node 'your hbase slave nodes' { include java include hbase::cluster::slave }
node 'your hbase master node' { include java include hbase::cluster::master }
Before deploying this module, please install and setup Hadoop cluster on machines. This module assumes that ssh connection and hadoop users are all set up.
Since the issue HBASE-7904 of working Hbase with Hadoop 2.0.3 alpha release, if you want to use the Hadoop version, you needto rebuild Hbase tarball against Hadoop 2.0.3 alpha.
Downloading Apache Hbase package (or rebuild the tarball) and putting the tarball under files/.
You need to put a tarball that contains some hadoop jar files under files/lib/.
This puppet module will remove /lib/hadoop-core-1.0.4.jar from untarred hbase directory. If the hadoop jar file contained in your hbase package is not the file, please modify the corresponding object in manifests/init.pp.
Please also modify parameters 'version', 'master' and 'slaves' in manifests/params.pp.
When you deploy, make sure all slaves are deployed before begin to deploy master node since it will launch services on slaves.
Since 0.0.8, this module supports Kerberos-secured Hbase installation. You can generate Kerberos principles and keytab files for Hbase before installing Hbase by:
include hbase::cluster::kerberos
Then copy generated keytab files from $keytab_path to files/keytab/. These keytab files would be copyed and installed on corresponding nodes according to $fqdn.
Dependencies
- viirya/java (0.0.5)
- puppetlabs/stdlib (>= 3.2.0)
Copyright (C) 2013 Liang-Chi Hsieh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.