Deletes a directory in HDFS.
Name of the directory in HDFS to delete. The directory can be an absolute path or relative to the current working directory.
Controls whether a directory that contains files is deleted. Set to TRUE
to delete the directory and all its files, or FALSE
to cancel the operation (default).
This function deletes all data objects stored in the directory, which invalidates all associated object identifiers in HDFS.