def METHOD_NAME(spark: SparkSession, dir_path: str):
    """
    Returns list of paths to files in the `dir_path`
    :param spark: spark session
    :param dir_path: path to dir in hdfs or local disk
    :return: list of paths to files
    """
    fs = get_fs(spark)
    statuses = fs.listStatus(spark._jvm.org.apache.hadoop.fs.Path(dir_path))
    return [str(f.getPath()) for f in statuses]