You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2017/06/15 14:33:00 UTC

[jira] [Commented] (OOZIE-2948) Misleading error message if workflow.xml is not found

    [ https://issues.apache.org/jira/browse/OOZIE-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050558#comment-16050558 ] 

Peter Bacsko commented on OOZIE-2948:
-------------------------------------

It should print sth like {{Error: E0505 : E0505: workflow.xml does not exist in [hdfs://host.example.com:8020/user/testuser/sparktest]}}.

> Misleading error message if workflow.xml is not found
> -----------------------------------------------------
>
>                 Key: OOZIE-2948
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2948
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Minor
>
> The following error message is printed if {{workflow.xml}} is not found under a particular directory:
> {noformat}
> [root@host spark]# oozie job -run -oozie http://$(hostname -f):11000/oozie -config job.properties
> Error: E0505 : E0505: App definition [hdfs://host.example.com:8020/user/testuser/sparktest] does not exist
> {noformat}
> It's not immediately clear what "app definition" means. After looking at the code, it becomes obvious that it's the workflow definition XML, but the error message should state this explicitly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)