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

flume (3) Versions 3.0.0

Flume: reliable decoupled shipment of logs and data.

Policyfile
Berkshelf
Knife
cookbook 'flume', '= 3.0.0', :supermarket
cookbook 'flume', '= 3.0.0'
knife supermarket install flume
knife supermarket download flume
README
Dependencies
Quality -%

flume chef cookbook

Installs/Configures flume

Overview

Cookbook to install flume on a cluster.

Use flume::master to set up a master node. Use flume::node to set up a
physical node. Currently only one physical node per machines.

Configure logical nodes with the logical_node resource - see the test_flow.rb
recipe for an example. This is still somewhat experimental, and some features
will not work as well as they should until chef version 0.9.14 and others until
the next release of flume.

Coming soon flume::xxx_plugin.

Notes

This recipe relies on cluster_discovery_services to determine which nodes
across the cluster act as flume masters, and which nodes provide zookeeper
servers.

Attributes

  • [:flume][:aws_access_key] - AWS access key used for writing to s3 buckets
  • [:flume][:aws_secret_key] - AWS secret key used for writing to s3 buckets
  • [:flume][:cluster_name] - (default: "cluster_name") The name of the cluster to participate with (masters and zookeepers...)
  • [:flume][:plugins] - Hash for plugin configuration If you have a particular plugin to configure, you can also configure the classpath and the classes to include in the configuration file with attributes in the following forms: node[:flume][:plugin][{plugin_name}][:classes] node[:flume][:plugin][{plugin_name}][:classpath] node[:flume][:plugin][{plugin_name}][:java_opts]
  • [:flume][:classes] -
  • [:flume][:classpath] - list of directories and jars to add to the FLUME_CLASSPATH
  • [:flume][:java_opts] - list of command line parameters to add to the jvm
  • [:flume][:collector] - Format of node's logs output_format -- Controls what format the node writes logs (using collectorSink):
    • avro - Avro Native file format. Default currently is uncompressed.
    • avrodata - Binary encoded data written in the avro binary format.
    • avrojson - JSON encoded data generated by avro.
    • default - a debugging format.
    • json - JSON encoded data.
    • log4j - a log4j pattern similar to that used by CDH output pattern.
    • raw - Event body only. This is most similar to copying a file but does not preserve any uniqifying metadata like host/timestamp/nanos.
    • syslog - a syslog like text output format.

codec -- Controls what kind of compression the collector will use when writing a file.
whether or not collected logs are gzipped before writing
them to their final resting place (using collectorSink)
* GZipCodec
* BZip2Codec

  • [:flume][:data_dir] - Directory for local in-transit files (default: "/data/db/flume")
  • [:flume][:master][:external_zookeeper] - Use External Zookeeper? false to use flume's zookeeper. True to attach to an external zookeeper.
  • [:flume][:master][:zookeeper_port] - port to talk to zookeeper on (for external zookeeper) (default: "2181")

Recipes

  • default - Base configuration for flume
  • hbase_sink_plugin - Hbase Sink Plugin
  • jruby_plugin - Jruby Plugin
  • master - Configures Flume Master, installs and starts service
  • node - Configures Flume Node, installs and starts service
  • test_flow - Test Flow

Integration

Supports platforms: debian and ubuntu

Cookbook dependencies:
* java
* apt
* mountable_volumes
* provides_service

License and Author

Author:: Chris Howe - Infochimps, Inc (coders@infochimps.com)
Copyright:: 2011, Chris Howe - 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

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.

readme generated by cluster_chef's cookbook_munger

Dependent cookbooks

java >= 0.0.0
apt >= 0.0.0
mountable_volumes >= 0.0.0
provides_service >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found