bin/mandy-hadoop in trafficbroker-mandy-0.2.4.5 vs bin/mandy-hadoop in trafficbroker-mandy-0.2.4.6
- old
+ new
@@ -18,10 +18,12 @@
config = ARGV[3]
payload = ARGV[4] ? Mandy::Packer.pack(ARGV[4]) : ARGV[0]
require absolute_path(file)
+output = nil
+
Mandy::Job.jobs.each_with_index do |job, i|
jobconf = job.settings.map { |key, value| %(-D #{key}='#{value}') }.join(' ')
output = File.join(output_folder, "#{i+1}-#{job.name.downcase.gsub(/\W/, '-')}")
@@ -35,6 +37,9 @@
`#{command}`
# puts "#{command}"
input = output
-end
+end
+
+# print out the output location so caller can know where to get the results from
+puts output
\ No newline at end of file