You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2011/09/08 06:25:09 UTC

[jira] [Commented] (OOZIE-72) GH-26: add support for multiple workflow XMLs in a single HDFS directory

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

Hadoop QA commented on OOZIE-72:
--------------------------------

brookwc remarked:
A question is that how do you differentiate if path points to a file or a directory.

For example, I can have the following:

path = /a/b/workflow.xml

This path is ambiguous, it could be pointing to a workflow.xml under /a/b/ or /a/b/workflow.xml/.

I checked /a/b/workflow.xml/ is a valid hdfs path.

> GH-26: add support for multiple workflow XMLs in a single HDFS directory
> ------------------------------------------------------------------------
>
>                 Key: OOZIE-72
>                 URL: https://issues.apache.org/jira/browse/OOZIE-72
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> Currently a workflow XML is the 'workflow.xml' file under the HDFS directory specified in the job property 'oozie.wf.application.path'.
> This means that a given HDFS directory can have only one workflow app (the workflow.xml file).
> In many cases is desirable to share configurations and binaries among multiple workflow apps. 
> Today this is not possible.
> Proposal:
> 1* If 'oozie.wf.application.path' points to a HDFS directory, the workflow app is 'workflow.xml'  (today's behavior)
> 2* If 'oozie.wf.application.path' points to an XML file in HDFS, the workflow app is the specified file path and the workflow app directory (for all resources and and binaries) is the parent directory.
> This proposal preserves backwards compatibility.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira