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

Hadoop QA commented on OOZIE-192:
---------------------------------

wagz211 remarked:
the bad sections are:

    ${wf:nodeStatus('myfirstjob') == 'OK'}

    ${fs:size('/usr/foo/myinputdir') gt 10 * GB}


and:

Example:

<workflow-app name="foo-wf" xmlns="uri:oozie:workflow:0.1">
    ...
    <decision name="mydecision">
        <switch>
            <case to="reconsolidatejob">
              ${fs:size(secondjobOutputDir) gt 10 * GB}
            </case>
            <case to="rexpandjob">
              ${fs:size(secondjobOutputDir) lt 100 * MB}
            </case>
            <case to="recomputejob">
              ${ hadoop:counters('secondjob')[RECORDS][REDUCE_OUT] lt 1000000 }
            </case>
            <default to="end"/>
        </switch>
    </decision>
    ...
</workflow-app>

> GH-214: WF spec mentions invalid nodeStatus() EL function
> ---------------------------------------------------------
>
>                 Key: OOZIE-192
>                 URL: https://issues.apache.org/jira/browse/OOZIE-192
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> The "3.1.4 Decision Control Node" uses it as an example

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

        

Reply via email to