简体   繁体   English

RuntimeError: Split pattern data/* 不匹配任何文件

[英]RuntimeError: Split pattern data/* does not match any files

I'm currently trying to convert the TFX-TFRS tutorial into an Airflow pipeline.我目前正在尝试将TFX-TFRS 教程转换为 Airflow 管道。 When I run this Pipeline with LocalDagRunner() it executes without error.当我使用 LocalDagRunner() 运行此管道时,它执行时不会出错。 When I use the AirflowDagRunner() it throws the following error (Airflow pipeline is triggered through the Airflow Web-UI):当我使用 AirflowDagRunner() 时,它会引发以下错误(通过 Airflow Web-UI 触发 Airflow 管道):

RuntimeError: Split pattern data/* does not match any files. RuntimeError: Split pattern data/* 不匹配任何文件。

Inside the data folder resides a CSV dataset.数据文件夹内有一个 CSV 数据集。
I use the standard CsvExampleGen component in both cases.在这两种情况下,我都使用标准的 CsvExampleGen 组件。

This is the path to the dataset, which gets ingested by the pipeline:这是数据集的路径,它被管道摄取:

PIPELINE_NAME = 'TFRS-ranking'

# Directory where MovieLens 100K rating data lives
DATA_ROOT = os.path.join('data', PIPELINE_NAME)

我通过为 Airflow 管道提供数据的绝对路径而不是相对路径来解决此问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果“ from”子句不匹配任何结果,如何写空表? - How to write empty table if “from” clause does not match any result? 使用数据构建工具 (dbt) 路径 ['name'] 的 Cloud composer 出错:'jaffle_shop' 与 '^[^\\d\\W]\\w*$' 不匹配 - Error in Cloud composer with data build tool (dbt) path ['name']: 'jaffle_shop' does not match '^[^\\d\\W]\\w*$' Airflow Kubernetes Executor 是否运行任何算子? - Does Airflow Kubernetes Executor run any operator? Airflow中的管道是否可能与任何计划无关? - Is it possible to have a pipeline in Airflow that does not tie to any schedule? Airflow worker 在 kubernetes 执行器上没有任何注释 - Airflow worker does not have any annotation on kubernetes executor 如何修复错误“AirflowException(“作业运行器的主机名不匹配”)”? - How to fix the error "AirflowException("Hostname of job runner does not match")"? Salesforce API totalSize 并不总是与返回的行数匹配 - Salesforce API totalSize does not always match to the number of rows returned 带有 KubernetesExecutor 的气流:记录的 pid 与当前的 pid.airflow.Getting AirflowException:任务收到 SIGTERM 信号不匹配 - Airflow with KubernetesExecutor: Recorded pid does not match the current pid.airflow.Getting AirflowException: Task received SIGTERM signal airflow DAG 中的任务之间是否存在创建的临时文件 - Does temporary files created exist across tasks in an airflow DAG 将 xcom 数据拉到气流中的任何操作员之外 - pull xcom data outside any operator in airflow
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM