Description
Upon successful ingestion, the crawler action org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product file, but will fail to delete a product directory if the directory is not empty. It is suggested that we check for this condition and invoke:
FileUtils.deleteDirectory(fileToDelete)
to recursively delete the directory and all its content.