#
# Cookbook Name:: wt_heatmaps
# Recipe:: import
#
# Copyright 2012, Webtrends
#
# All rights reserved - Do Not Redistribute
#

# log dir
directory "/home/hadoop/log-drop" do
  owner "hadoop"
  group "hadoop"
  mode 00755
  recursive true
end

# script to import data into hive
cookbook_file "/usr/local/bin/logs2hive.sh" do
  source "import/logs2hive.sh"
  owner "hadoop"
  group "hadoop"
  mode 00500
  recursive true
end

cron "logs2hivecron" do
  command "/usr/local/bin/logs2hive.sh"
  user "hadoop"
end
#
# Cookbook Name:: wt_heatmaps
# Recipe:: import
#
# Copyright 2012, Webtrends
#
# All rights reserved - Do Not Redistribute
#

# log dir
directory "/home/hadoop/log-drop" do
  owner "hadoop"
  group "hadoop"
  mode 00755
  recursive true
end

# script to import data into hive
cookbook_file "/usr/local/bin/logs2hive.sh" do
  source "import/logs2hive.sh"
  owner "hadoop"
  group "hadoop"
  mode 00500
end

cron "logs2hivecron" do
  command "/usr/local/bin/logs2hive.sh"
  user "hadoop"
end
Fix a bad recursive call
Fix a bad recursive call


Former-commit-id: 69f08a332dfa56d3d3bfcfa931b629981c9cc809 [formerly 5c2f208bc5ddeee63749b54bd759439f6d4ef817] [formerly 1ca3c18e5cbcac9d566e32d2d6b320a49ecc8079 [formerly 1b5d8b976f3af6d1ec351ddbf0c2d8c02267f67d [formerly 0319a6768f65170052c8cd512440579ce2390ad1]]]
Former-commit-id: 59600bf94fa0d17a1f77fcf41c543a22f3584493 [formerly e808b8f0014c1b64123e239709b986d4b5b515c0]
Former-commit-id: fc6e635a565a305f5d551efb911802052c4e6dca
Former-commit-id: 74a450f51952a71aa47da9cad1224b6226c7a258