From e3b50f0232416cda25290173b34c83bbab93eb42 Mon Sep 17 00:00:00 2001 From: Jim Dowling Date: Wed, 8 Apr 2015 15:49:19 +0200 Subject: [PATCH] revert to 2.4.0 --- attributes/default.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index f5a9dc5..03743d7 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -1,4 +1,4 @@ -default[:hadoop][:version] = "2.6.0" +default[:hadoop][:version] = "2.4.0" default[:hdfs][:user] = "hdfs" default[:hadoop][:group] = "hadoop" default[:hadoop][:dir] = "/srv" @@ -11,7 +11,8 @@ default[:hadoop][:dn][:data_dir] = "#{node[:hadoop][:data_dir]}/hdfs/dn" default[:hadoop][:nn][:name_dir] = "#{node[:hadoop][:data_dir]}/hdfs/nn" -default[:hadoop][:download_url] = "http://apache.mirror.digionline.de/hadoop/common/hadoop-#{node[:hadoop][:version]}/hadoop-#{node[:hadoop][:version]}.tar.gz" +#default[:hadoop][:download_url] = "#{node[:download_url]}/hadoop-#{node[:hadoop][:version]}.tar.gz" +#default[:hadoop][:download_url] = "http://apache.mirror.digionline.de/hadoop/common/hadoop-#{node[:hadoop][:version]}/hadoop-#{node[:hadoop][:version]}.tar.gz" default[:hadoop][:protobuf_url] = "https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz" default[:hadoop][:hadoop_src_url] = "http://apache.mirror.digionline.de/hadoop/common/hadoop-#{node[:hadoop][:version]}/hadoop-#{node[:hadoop][:version]}-src.tar.gz" default[:hadoop][:nn][:http_port] = 50070