Support Questions

Find answers, ask questions, and share your expertise

Oozie workflow is in running state always after submission, not getting success or fail

avatar
New Contributor

I'm trying to run a sample oozie shell command workflow from Ambari workflow designer, after job execution it is in running status always and neither getting successful nor failed. I'm not able to find the reason. I changed port of resource manager, but still not getting executed. Any idea how could I solve and where can I find the job logs.

 

My WorkFlow.xml is below

<?xml version="1.0" encoding="UTF-8" standalone="no"?><workflow-app xmlns="uri:oozie:workflow:0.5" name="copy1">
<start to="shell_1"/>
<action name="shell_1">
<shell xmlns="uri:oozie:shell-action:0.3">
<job-tracker>${resourceManager}</job-tracker>
<name-node>${nameNode}</name-node>
<exec>echo</exec>
<argument>"HiiiiiiiiiiiiiiiiiiiiiiiOzooooie"</argument>
<capture-output/>
</shell>
<ok to="end"/>
<error to="kill"/>
</action>
<kill name="kill">
<message>${wf:errorMessage(wf:lastErrorNode())}</message>
</kill>
<end name="end"/>
</workflow-app>

 

 

1 REPLY 1

avatar
Master Collaborator

Hi,

 

Is this your new oozie setup? or was it running fine earlier?

Is oozie service up and running?

 

Can you provide the output for below commands to verify job status and its logs:( Replace the workflow id )

a. oozie job -oozie http://<oozie-server-host>:11000 -info <workflow-id>

b. oozie job -oozie http://<oozie-server-host>:11000 -log <workflow-id>

 

Regards,

Chethan YM