Est. Budget: $5.00
I have the following HDFS directory structure.
Inside the segments directory are multiple directories named like 20141102230503. Inside each of these directories if there is a file named _SUCCESS , I need to delete the directory 20141102230503. I will be checking this in a hourly crontab. I need a script which uses HDFS commands to delete.
I have the directory structure depicted below again to explain.