Sha256: 92b109b793edb5294105c3f51cbee395898f147d3b17b1de3f036ef0298ed42f

Contents?: true

Size: 800 Bytes

Versions: 2

Compression:

Stored size: 800 Bytes

Contents

#!/usr/bin/env ruby

require "rubygems"
require "mandy"

puts "\nYou are running Mandy!"
puts "Here are the commands at your disposal..."
puts ''

{
  'mandy-install' => 'Installs the Mandy Rubygem on several hosts via ssh.',
  'mandy-local' => 'Run a Map/Reduce task locally without requiring hadoop',
  'mandy-hadoop' => 'Run a Map/Reduce task on hadoop using the provided cluster config',
  'mandy-run' => 'Run an entire Map/Reduce workflow with one command',
  'mandy-rm' => 'remove a file or directory from HDFS',
  'mandy-put' => 'upload a file into HDFS',
  'mandy-map' => 'Run a map task reading on STDIN and writing to STDOUT',
  'mandy-reduce' => 'Run a reduce task reading on STDIN and writing to STDOUT'
}.each do |command, description|
  
  puts "#{command.ljust(15)} #{description}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mandy-0.4 bin/mandy
mandy-0.3.13 bin/mandy