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


pig (3) Versions 3.0.3

Pig: a data analysis program for hadoop. It's like SQL but with less suck and more scalable.

cookbook 'pig', '= 3.0.3', :supermarket
cookbook 'pig', '= 3.0.3'
knife supermarket install pig
knife supermarket download pig
Quality -%

pig chef cookbook

Installs pig, a data analysis program for hadoop. It's like SQL but awesome and infinitely scalable.


This cookbook

  • installs the package, from either the release (tarball available directly from the Apache Pig project) or the Cloudera apt repo.
  • builds the piggybank of helper functions, if desired
  • links to external jars and .confs (hbase, zookeeper, etc)


  • [:pig][:home_dir] - Location of pig code (default: "/usr/lib/pig")
  • [:pig][:release_url] - URL of pig release tarball (default: ":apache_mirror:/pig/pig-:version:/pig-:version:.tar.gz")
  • [:pig][:combine_splits] - tunable: combine small files to reduce the number of map tasks (default: "true")
    • Processing input (either user input or intermediate input) from multiple small files can be inefficient because a separate map has to be created for each file. Pig can now combined small files so that they are processed as a single map. combine_splits turns this on or off.
  • [:pig][:version] - (default: "0.9.1")
  • [:java][:java_home] - JAVA_HOME environment variable to set for compilation (default: "/usr/lib/jvm/java-6-sun/jre")
    • JAVA_HOME environment variable to set for compilation. This should be the path to the 'jre' subdirectory of your Sun Java install (not OpenJDK).


  • default - Base configuration for pig
  • install_from_package - Installs pig from the cloudera package -- verified compatible, but on a slow update schedule.
  • install_from_release - Install From the release tarball.
  • integration - Link in jars from hbase and zookeeper
  • piggybank - Compiles the Piggybank, a library of useful functions for pig


Supports platforms: debian and ubuntu

Cookbook dependencies:
* java
* apt
* install_from

License and Author

Author:: Philip (flip) Kromer - Infochimps, Inc (
Copyright:: 2011, Philip (flip) Kromer - Infochimps, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

readme generated by cluster_chef's cookbook_munger

Dependent cookbooks

java >= 0.0.0
apt >= 0.0.0
install_from >= 0.0.0
hadoop_cluster >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found