HadoopFileSystem.
delete
Delete the indicated file or directory.
path (str) – Path to delete.
recursive (bool, default False) – If True, also delete child paths for directories.