cookbook 'snappy', '~> 3.0.1', :supermarket
snappy (1) Versions 3.0.1 Follow1
Installs/Configures snappy, the compression codec from google
cookbook 'snappy', '~> 3.0.1'
knife supermarket install snappy
knife supermarket download snappy
snappy chef cookbook
Installs/Configures snappy, the compression codec from google
Overview
A very basic recipe to install snappy from a downloaded tarball.
NOTE: Not needed for HBase / Flume / Hadoop (those should use the native libs as provided by the hadoop_cluster cookbook)
From their documentation:
Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger. On a single core of a Core i7 processor in 64-bit mode, Snappy compresses at about 250 MB/sec or more and decompresses at about 500 MB/sec or more. Snappy is widely used inside Google, in everything from BigTable and MapReduce to our internal RPC systems. (Snappy has previously been referred to as "Zippy" in some presentations and the likes.)
For more information, please see the README. Benchmarks against a few other compression libraries (zlib, LZO, LZF, FastLZ, and QuickLZ) are included in the source code distribution. The source code also contains a formal format specification, as well as a specification for a framing format useful for higher-level framing and encapsulation of Snappy data, e.g. for transporting Snappy-compressed data across HTTP in a streaming fashion. Note that there is currently no known code implementing the latter.
Snappy is written in C++, but C bindings are included, and several bindings to other languages are maintained by third parties
Recipes
-
default
- Base configuration for snappy
Integration
Supports platforms: debian and ubuntu
Cookbook dependencies: * install_from
Attributes
-
[:snappy][:home_dir]
- Installed location of snappy (default: "/usr/local/share/snappy") -
[:snappy][:release_url]
- Snappy release tarball to install (default: "http://snappy.googlecode.com/files/snappy-:version:.tar.gz") -
[:snappy][:version]
- (default: "1.0.4")
License and Author
Author:: Philip (flip) Kromer - Infochimps, Inc (coders@infochimps.com) 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
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
install_from >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
3.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.0.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 CONTRIBUTING.md file
Foodcritic Metric
3.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: snappy/metadata.rb:1
FC065: Ensure source_url is set in metadata: snappy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: snappy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: snappy/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: snappy/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.0.1 passed this metric
Publish Metric
3.0.1 passed this metric
Supported Platforms Metric
3.0.1 passed this metric
Testing File Metric
3.0.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.0.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
3.0.1 failed this metric
3.0.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 CONTRIBUTING.md file
Foodcritic Metric
3.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: snappy/metadata.rb:1
FC065: Ensure source_url is set in metadata: snappy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: snappy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: snappy/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: snappy/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.0.1 passed this metric
Publish Metric
3.0.1 passed this metric
Supported Platforms Metric
3.0.1 passed this metric
Testing File Metric
3.0.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.0.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
3.0.1 failed this metric
FC065: Ensure source_url is set in metadata: snappy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: snappy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: snappy/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: snappy/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
3.0.1 passed this metric
Publish Metric
3.0.1 passed this metric
Supported Platforms Metric
3.0.1 passed this metric
Testing File Metric
3.0.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.0.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
3.0.1 passed this metric
3.0.1 passed this metric
Testing File Metric
3.0.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.0.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
3.0.1 failed this metric
3.0.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