[
https://issues.apache.org/jira/browse/OOZIE-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429470#comment-13429470
]
Alejandro Abdelnur commented on OOZIE-239:
------------------------------------------
*ParameterVerifier verifyParameters() method
**javadoc is incomplete/incorrect (mentioning ParameterHandlerException)
**use a single error code instead two, make the template something plural or:
"The following parameter(s) is(are) required but was(were) not defined and no
default(s) value(s) is(are) available: {0}"),
**we should do log a warning if <parameters> is missing (but only if the schema
used supports <parameters>
> Add formal parameters to WF & COORD XML
> ---------------------------------------
>
> Key: OOZIE-239
> URL: https://issues.apache.org/jira/browse/OOZIE-239
> Project: Oozie
> Issue Type: Improvement
> Reporter: Hadoop QA
> Assignee: Robert Kanter
> Attachments: OOZIE-239-v2.patch, OOZIE-239-v3.patch, OOZIE-239.patch
>
>
> Formal parameters definition with inline default values
> Enforcing formal parameters a comprehensive error checking can be done at
> submission time for EL expressions through out the workflow XML.
> For example:
> <code>
> <workflow-app>
> <parameters>
> <!-- with no default value -->
> <property>
> <name>input</name>
> </property>
> <!-- with default value -->
> <property>
> <name>output</name>
> <value>${input}.out</name>
> </property>
> ...
> </parameters>
> ...
> </workflow-app>
> </code>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira