code: def ls(hdfs_path, user=None, recursive=False):
      
      dir_list = lsl(hdfs_path, user, recursive)
      return [d["name"] for d in dir_list]
docs: Return a list of hdfs paths.
  
      Works in the same way as :func:`lsl`, except for the fact that list
      items are hdfs paths instead of dictionaries of properties.