Skip to content
Cookbook to install Cask Data Application Platform (CDAP) using Chef
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.delivery
attributes
libraries
recipes updates to handle upcoming package name change Apr 5, 2019
spec
templates/default
test fix test failure May 30, 2019
.codeclimate.yml Update testing framework to test on Chef 13 Apr 13, 2017
.gitignore
.kitchen.dokken.yml use Java 8 by default Oct 12, 2018
.kitchen.yml add docker-based integration tests May 4, 2018
.mdlrc Version bump to 3.0.0 Apr 5, 2017
.travis.yml
Berksfile fix dependency logic for older chefs May 31, 2019
CHANGELOG.md
CONTRIBUTING.md
LICENSE
README.md update github org, removing codeclimate for now until we can add it b… May 30, 2019
Rakefile make Rakefile executable per rubocop May 25, 2017
chefignore Revert "Revert changes to init scripts until cdapio/cdap#6574 is merg… Sep 23, 2016
metadata.json
metadata.rb

README.md

cdap cookbook

Cookbook Version Apache License 2.0 Build Status Build Status

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. (ops@cask.co)

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 at

http://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.

You can’t perform that action at this time.