michelle chiang created OOZIE-1115:
--------------------------------------

             Summary: check credential before launch job
                 Key: OOZIE-1115
                 URL: https://issues.apache.org/jira/browse/OOZIE-1115
             Project: Oozie
          Issue Type: Improvement
          Components: workflow
    Affects Versions: 3.3.0
            Reporter: michelle chiang
            Priority: Minor


when a workflow action specifies to use a credential which is not defined, the 
hadoop job is still launched and eventually fails.

e.g., workflow.xml
<workflow-app xmlns='uri:oozie:workflow:0.3' name='hbase6-wf'>
    <!-- <credentials>
        <credential name="hbase.cert" type="hbase">
        </credential>
    </credentials> -->
  <start to="java_1" />
    <action name='java_1' cred="hbase.cert">
     ... ...


oozie could check the existence of the credential definition before launch the 
job.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to