【问题标题】:Oozie cannot find workflow fileOozie 找不到工作流文件
【发布时间】:2016-10-25 13:55:12
【问题描述】:

文件存在于 HDFS 中:

hdfs dfs -ls hdfs://nameservice/user/user123/workflow.xml


-rw-r--r--   3 user123 user123        662 2016-10-24 11:25 hdfs://nameservice/user/user123/workflow.xml

用 oozie 试试同样的方法:

oozie validate hdfs://nameservice/user/user123/workflow.xml

oozie 找不到:

App definition [File does not exist, hdfs://nameservice/user/user123/workflow.xml] does not exist

如果我尝试使用 oozie run 提交工作流,也会出现同样的错误。

有哪些可能的原因/需要检查的事项?

【问题讨论】:

  • 如果本地路径中有workflow.xml,我认为可以进行oozie validate

标签: hdfs oozie


【解决方案1】:

您需要提供本地文件系统路径而不是 HDFS 位置。这是客户端验证。

oozie validate <ARGS> : validate a workflow XML file

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多