'listdir_recursive(path, glob=None) -> [ entry names ]
Get directory entry names without stats, recursively.'

def listdir_recursive(self, path, glob=None):

    paths = [path]
    while paths:
        path = paths.pop()
        if self.isdir(path):
            hdfs_paths = self.listdir_stats(path, glob)
            paths[:0] = [x.path for x in hdfs_paths]
        (yield path)
