https://github.com/cdapio/cdap_cookbook
Cookbook to install Cask Data Application Platform (CDAP) using Chef
https://github.com/cdapio/cdap_cookbook
cdap cdap-cookbook chef chef-cookbook cookbooks
Last synced: about 1 month ago
JSON representation
Cookbook to install Cask Data Application Platform (CDAP) using Chef
- Host: GitHub
- URL: https://github.com/cdapio/cdap_cookbook
- Owner: cdapio
- License: apache-2.0
- Created: 2014-08-04T21:08:42.000Z (about 11 years ago)
- Default Branch: develop
- Last Pushed: 2023-02-16T17:51:01.000Z (over 2 years ago)
- Last Synced: 2024-04-14T11:43:22.866Z (over 1 year ago)
- Topics: cdap, cdap-cookbook, chef, chef-cookbook, cookbooks
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/cdap
- Size: 504 KB
- Stars: 6
- Watchers: 63
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# cdap cookbook
[](https://supermarket.chef.io/cookbooks/cdap)
[](http://opensource.org/licenses/Apache-2.0)
[](http://travis-ci.org/cdapio/cdap_cookbook)
[](https://jenkins-01.eastus.cloudapp.azure.com/job/cdap-cookbook/)## Requirements
* Java JDK 8+ with JCE
* Hadoop 2.0+ HDFS, YARN, ZooKeeper, Hive, and HBase## Usage
### Distributed
The simplest usage is to install a complete CDAP stack on a single machine,
using the `cdap::fullstack` recipe. Directories in HDFS are created using the
`cdap::init` recipe. The CDAP Upgrade Tool can be run after upgrading CDAP by
using the `cdap::upgrade` recipe.### Standalone/SDK
Use the `cdap::sdk` recipe.
## Attributes
* `['cdap']['conf_dir']` - The directory used inside `/etc/cdap` and used via the alternatives system. Default `conf.chef`
* `['cdap']['repo']['apt_repo_url']` - Specifies URL for fetching packages from APT
* `['cdap']['repo']['apt_components']` - Repository components to use for APT repositories
* `['cdap']['repo']['yum_repo_url']` - Specifies URL for fetching packages from YUM
* `['cdap']['version']` - CDAP package version to install, must exist in the given repository## Recipes
* `cli` - Installs `cdap-cli` package
* `config` - Configures all services
* `default` - Installs `cdap` base package and performs configuration of `cdap-site.xml`
* `fullstack` - Installs all packages and services on a single node
* `gateway` - Installs the `cdap-gateway` package and `cdap-gateway` and `cdap-router` services
* `init` - Sets up HDFS, run on Master node
* `kafka` - Installs the `cdap-kafka` package and `cdap-kafka-server` service
* `master` - Installs the `cdap-master` package and service
* `prerequisites` - Installs dependencies such as `hadoop`, `hbase`, `hive`, and `ntpd`
* `repo` - Sets up package manager repositories for cdap packages
* `sdk` - Installs the CDAP SDK and sets up a `cdap-sdk` service
* `security` - Installs the `cdap-security` package and `cdap-auth-server` service
* `security_realm_file` - Creates the realm file
* `ui` - Installs the `cdap-ui` package and service, replaces `web_app`
* `upgrade` - Executes the CDAP Upgrade Tool, run on Master node## Author
Author:: Cask Data, Inc. ()
## License
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this software except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.