Skip to content

Cookbook to install Cask Data Application Platform (CDAP) using Chef

License

Notifications You must be signed in to change notification settings

cdapio/cdap_cookbook

Repository files navigation

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. ([email protected])

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.