Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

cdap (90) Versions 3.2.1

Installs/Configures Cask Data Application Platform (CDAP)

Policyfile
Berkshelf
Knife
cookbook 'cdap', '= 3.2.1', :supermarket
cookbook 'cdap', '= 3.2.1'
knife supermarket install cdap
knife supermarket download cdap
README
Dependencies
Changelog
Quality 60%

cdap cookbook

Cookbook Version
Apache License 2.0
Build Status
Code Climate
Build Status

Requirements

  • Java JDK 7+ 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.

Dependent cookbooks

ambari >= 0.0.0
ark >= 0.0.0
apt >= 0.0.0
java >= 0.0.0
nodejs >= 0.0.0
ntp >= 0.0.0
yum >= 0.0.0
hadoop >= 2.0.0
krb5 >= 2.2.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

cdap CHANGELOG

v3.2.1 (Jun 26, 2017)

  • Ability to disable checksum enforcing ( Issue: #254 )
  • Support HDP 2.6.1.0 ( Issue: #255 )

v3.2.0 (Jun 12, 2017)

  • Support CDAP 4.1.1 ( Issue: #251 )
  • Set CDAP 4.2.0 as default, and rename SDK to Sandbox ( Issue: #252 )

v3.1.1 (May 30, 2017)

  • Fix Test Kitchen ( Issue: #247 )
  • Make /etc/profile.d/cdap-sdk.sh options configurable ( Issue: #248 )
  • Switch to HTTPS for repository.cask.co ( Issue: #249 )

v3.1.0 (May 23, 2017)

  • Support HDP 2.5.5.0 ( Issue: #242 )
  • Remove spark.yarn.am.extraJavaOptions ( Issue: #243 )
  • Enforce skip_prerequisites in sdk and security recipes ( Issues: #244 COOK-124 )
  • Default to OpenJDK ( Issue: #245 )

v3.0.2 (Apr 13, 2017)

  • Update Berksfile and test Chef 13 ( Issues: #237 #239 )
  • Support platform_family amazon for Chef 13 ( Issues: #238 COOK-123 )
  • Set principal name to match keytab credentials ( Issue: #240 )

v3.0.1 (Apr 6, 2017)

  • Fix a bug with variable assignment in init recipe ( Issue: #235 )

v3.0.0 (Apr 4, 2017)

BREAKING CHANGES:

  • Remove support for EOL versions of CDAP ( Issues: #218 #219 )
    • This removes support for CDAP versions less than 3.0, including any supporting recipes.
  • Updates to CDAP::Helpers methods ( Issue: #227 )
    • This prefixes all helper methods with cdap_ to prevent them from conflicting with any other methods.
    • Simplifies complex chained if conditionals into smaller methods

OTHER CHANGES:

  • Handle deprecation of ssl.enabled ( Issues: #216 COOK-116 )
  • Update to CDAP 4.1.0-2 release ( Issue: #217 )
  • Properly set metadata.updates.kafka.broker.list ( Issues: #220 COOK-85 )
  • Initialize Kerberos tickets before use ( Issues: #221 COOK-104 )
  • Set SSL properties on ssl.enabled ( Issues: #222 COOK-75 )
  • Set security.keytab.path default ( Issues: #223 COOK-117 )
  • Recipe for cdap user ( Issues: 224 COOK-92 )
  • Switch to new Ruby 1.9+ Hash syntax ( Issue: #225 )
  • Remove kstart, yum-epel usage ( Issue: #226 )
  • Updates to testing framework and tests ( Issues: #228 #229 #230 #232 )
  • Use options directly, versus assigning to my_vars ( Issue: #231 )
  • Support HDP 2.6.0.3-8 ( Issue: #232 )

v2.28.5 (Feb 17, 2017)

  • Update SDK 4.0.1 checksum ( Issue #212 )
  • Update ark and krb5 dependencies ( Issue #213 )
  • Split base package install into its own recipe ( Issue #214 )

v2.28.4 (Feb 16, 2017)

  • Switch to using Chef::VERSION for cookbook restrictions ( Issue #207 )
  • Set testing log level to error ( Issue #208 )
  • Wrap all node attributes in version check ( Issue #209 )
  • Restrict build-essential on Chef < 12.5 ( Issue: #211 )

v2.28.3 (Feb 9, 2017)

  • Set Node.js version for SDK 4.0+ ( Issue #204 )
  • Add guard to prevent error on insecure clusters ( Issue #205 )

v2.28.2 (Feb 2, 2017)

  • Install rkerberos gem during init ( Issue: #201 )
  • Move HBase grant commands to init ( Issue: #202 )

v2.28.1 (Jan 26, 2017)

  • Properly constrain version of base package installed with CLI ( Issue: #198 )
  • Add CDAP 4.0.1, 3.5.3, and Ambari Service 4.0.2 ( Issue: #199 )

v2.28.0 (Jan 19, 2017)

  • Use krb5_principal and krb5_keytab LWRPs ( Issue: #181 )
  • Add 3.5.2 and 4.0.0 and make 4.0.0 default ( Issues: #194 #195 )

v2.27.0 (Dec 14, 2016)

  • Do not set kafka.server.log.dirs so kafka.log.dir can be used ( Issue: #187 )
  • Sync script with CDAP init scripts ( Issue: #188 )
  • Include Java in CLI recipe, unless skip is requested ( Issue: #189 )
  • Support HDP 2.5.3.0 ( Issue: #190 )
  • Use precise repo for up through xenial ( Issue: #191 )
  • Restrict ark cookbook version ( Issue: #192 )

v2.26.2 (Nov 10, 2016)

  • Always run security recipe in fullstack ( Issue: #185 )

v2.26.1 (Oct 25, 2016)

  • Add HDP 2.2.6.3 and 2.4.3.0 support ( Issue: #180 )
  • Remove sticky bit from user JHS directories ( Issue: #182 )
  • Honor the CDAP_USER environment ( Issue: #183 )

v2.26.0 (Oct 18, 2016)

  • Remove some settings from cdap-defaults.xml in CDAP ( Issue: #172 )
  • Refactor for less code duplication ( Issue: #173 )
  • Increase mass threshold ( Issue: #174 )
  • Update README.md for CPCP ( Issue: #175 )
  • Disable Style/FrozenStringLiteralComment cop ( Issue: #176 )
  • Support HDP 2.3.6.0 ( Issue: #177 )
  • Use CDAP 3.6.0 release ( Issue: #178 )

v2.25.1 (Sep 27, 2016)

  • Fix Chef supermarket package ( Issue #171 )

v2.25.0 (Sep 26, 2016)

  • Setup codeclimate and DRY up code ( Issue: #166 )
  • Separate realm file into its own recipe ( Issues: #167 #168)
  • Support CDAP SDK 3.5.1 ( Issue: #169 )

v2.24.1 (Sep 23, 2016)

  • Support CDAP 4.0 bash script ( Issue: #163 )

v2.24.0 (Sep 14, 2016)

  • Use latest released cdap-ambari-service version ( Issue: #157 )
  • Rename LICENSE to LICENSE.txt ( Issue: #160 )
  • Support IBM Open Platform (IOP) (Issue: #161 )

v2.23.2 (Sep 8, 2016)

  • Revert changes to init scripts until caskdata/cdap#6574 is merged ( Issue: #158 )

v2.23.1 (Sep 1, 2016)

  • Fix Router path ( Issue: #156 )

v2.23.0 (Aug 26, 2016)

  • Switch Ambari dependency to recommends ( Issue: #150 )
  • Support new cdap script for CDAP 4.0+ ( Issue: #151 )
  • Add checksum for CDAP 3.3.7 SDK ( Issue: #152 )
  • Use CDAP 3.5 by default ( Issue: #153 )

v2.22.0 (Jul 26, 2016)

  • Support CDAP SDK 3.3.5 ( Issue: #140 )
  • Support cdap-ambari-service installation on Ambari ( Issue: #141 )
  • Update README to reflect current recipes and usage ( Issue: #142 )
  • Support CDAP SDK 3.4.3 ( Issue: #143 )
  • Set default CDAP version to 3.4.3-1 ( Issue: #144 )
  • Update test kitchen ( Issue: #146 )
  • Support CDAP SDK 3.3.6 ( Issue: #147 )

v2.21.1 (Jun 29, 2016)

  • Add checksum for CDAP 3.4.2 SDK ( Issue: #136 )
  • Only restart SDK if actions include start ( Issue: #137 )
  • Rewrite distribution to Precise ( Issues: #138 COOK-102 )

v2.21.0 (May 25, 2016)

  • Add CDAP SDK bin to PATH ( Issues: #133 COOK-98 )
  • Set CDAP 3.4.1 default and support 3.3.4 SDK installs ( Issue: #134 )

v2.20.0 (May 10, 2016)

  • Do not install Node.js on CDAP 3.4+ ( Issue: #128 )
  • Setting security.server.ssl.enabled should set ssl.enabled ( Issues: #129 COOK-74 )
  • Update SDK hashes and default to CDAP 3.4.0 ( Issue: #131 )

Previous release CHANGELOGs are available on the project's GitHub Releases.

Collaborator Number Metric
            

3.2.1 passed this metric

Contributing File Metric
            

3.2.1 passed this metric

License Metric
            

3.2.1 passed this metric

Testing File Metric
            

3.2.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

3.2.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number