Does the hadoop cookbook's metadata say that it requires java?
Adam
--
On Tue, Aug 25, 2009 at 4:30 PM, < "> > wrote:
> Hi. I'm trying to include a java recipe inside of a hadoop recipe. I've
> re-created the java cookbook to make sure the metadata, etc. is correct. I get
> the following error & log output.
>
> chef-client -l debug
> /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/cookbook_loader.rb:111:in `[]':
> Cannot find a cookbook named java; did you forget to add metadata to a
> cookbook? (http://wiki.opscode.com/display/chef/Metadata) (ArgumentError)
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/recipe.rb:78:in
> `include_recipe'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/recipe.rb:64:in
> `each'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/recipe.rb:64:in
> `include_recipe'
> from /usr/local/chef/cache/cookbooks/hadoop/recipes/default.rb:20:in
> `from_file'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/cookbook.rb:139:in
> `load_recipe'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/compile.rb:124:in
> `load_recipes'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/compile.rb:110:in
> `each'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/compile.rb:110:in
> `load_recipes'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/client.rb:378:in
> `converge'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/client.rb:82:in
> `run'
> from
> /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/application/client.rb:186:in
> `run_application'
> from
> /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/application/client.rb:178:in
> `loop'
> from
> /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/application/client.rb:178:in
> `run_application'
> from
> /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/application.rb:57:in `run'
> from /usr/lib/ruby/gems/1.8/gems/chef-0.7.8/bin/chef-client:26
> from /usr/bin/chef-client:19:in `load'
> from /usr/bin/chef-client:19
>
>
> tail /var/log/chef/client.log
> [Tue, 25 Aug 2009 22:44:21 +0000] DEBUG: Loading Recipe hadoop
> [Tue, 25 Aug 2009 22:44:21 +0000] DEBUG: Found recipe default in cookbook
> hadoop
> [Tue, 25 Aug 2009 22:44:21 +0000] DEBUG: Loading Recipe java via include_recipe
>
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E: ">
Archive powered by MHonArc 2.6.16.