Sha256: 01ddb09ac8b9831c09c9cdb8dc194323d391eb9b6e5d42aabc37189821956bcc

Contents?: true

Size: 206 Bytes

Versions: 1

Compression:

Stored size: 206 Bytes

Contents

#!/usr/bin/env ruby

if ARGV.size==0
  puts "USAGE: mandy-rm file_or_folder_on_hdfs cluster-config.xml"
  exit
end

file = ARGV[1]
config = ARGV[0]

`$HADOOP_HOME/bin/hadoop fs -conf #{config} -rmr #{file}`

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trafficbroker-mandy-0.1.5 bin/mandy-rm