Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
Added clouderamanager-edgenode to the role search.
Browse files Browse the repository at this point in the history
Fixed the hive package name.
  • Loading branch information
Paul-Webster authored and Paul-Webster committed Jun 25, 2012
1 parent da5bfac commit fb3a82d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chef/cookbooks/hive/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
debug = node[:hive][:debug]
Chef::Log.info("BEGIN hive") if debug

package "hadoop-hive" do
package "hive" do
action :install
end

Expand Down
2 changes: 1 addition & 1 deletion crowbar_framework/app/models/hive_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def create_proposal
nodes.delete_if { |n| n.nil? }

# Find all hadoop edge nodes.
edge_nodes = nodes.find_all { |n| n.role? "hadoop-edgenode" }
edge_nodes = nodes.find_all { |n| n.role? "hadoop-edgenode" or n.role? "clouderamanager-edgenode" }
edge_fqdns = Array.new
edge_nodes.each { |x|
next if x.nil?
Expand Down

0 comments on commit fb3a82d

Please sign in to comment.