@Override
          public Boolean call() throws Exception {
            SessionState.setCurrentSessionState(parentSession);
            return FileUtils.moveToTrash(fs, status.getPath(), conf, purge);
          }
Trashes or deletes all files under a directory. Leaves the directory as is.
@param fs FileSystem to use
@param statuses fileStatuses of files to be deleted
@param conf hive configuration
@return true if deletion successful
@throws IOException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java