I have shell script that I want to invoke though oozie.The shell scripts
logs into my host and run my application commands.
The shell scripts works good when I run it from outside.
But when I include it in the workflow.xml and run it via oozie the job gets
suspended
I am not sure what is going wrong
Here is the code snippet of my workflow
 <action name="testjob">
          <ssh xmlns="uri:oozie:ssh-action:0.1">
            <host>xxx@dghost90</host>
            <command>./dgcl_test.sh</command>
            <args>xxx</args>
         <args>pswd</args>
         <args>batchFile</args>
        </ssh>
        <ok to="end"/>
        <error to="fail"/>
    </action>

Anybody has any idea?

Reply via email to