bin/mandy-rm in trafficbroker-mandy-0.1.5 vs bin/mandy-rm in trafficbroker-mandy-0.1.6
- old
+ new
@@ -3,9 +3,9 @@
if ARGV.size==0
puts "USAGE: mandy-rm file_or_folder_on_hdfs cluster-config.xml"
exit
end
-file = ARGV[1]
-config = ARGV[0]
+file = ARGV[0]
+config = ARGV[1]
`$HADOOP_HOME/bin/hadoop fs -conf #{config} -rmr #{file}`
\ No newline at end of file