Support Questions

Find answers, ask questions, and share your expertise

Oozie workflow not starting even input file is ready

avatar
New Contributor

Hi,

 

I am new to oozie and following is my coordinator.

 

<coordinator-app name="test" frequency="60" start="2022-04-25T01:00Z" end="2022-04-25T02:00Z" timezone="UTC" xmlns="uri:oozie:coordinator:0.4" xmlns:sla="uri:oozie:sla:0.2">


           <controls>
                   <timeout>${timeouttest}</timeout>
                 <concurrency>${concurrencyHourly}</concurrency>
           </controls>

 

         <dataset name="raw_1" frequency="60" initial-instance="2022-04-11T00:00Z"              timezone="UTC">
             <uri-template>${hdfs}/raw_v1/arrv_dt=${YEAR}-${MONTH}-${DAY};hr=${HOUR}</uri-template>

         </dataset>

                    <input-events>
                            <data-in name="dataset_test_1" dataset="raw_1">
                                    <instance>${coord:current(-10)}</instance>
                           </data-in>
                   </input-events>

 

                  -----coordinator action -----

</coordinator-app>

 

My workflow is not starting and it is in waiting state even my input data set available. 

 

Not sure what mistake I am doing and can you help me to understand what I am missing in my coordinator.

 

I am passing start time and end time as below from property file.

stTime=2022-04-25T01:00Z
stTimeHourly=2022-04-25T01:00Z
endTime=2022-04-25T02:00Z

 

Really appreciate your help.

Thanks,

Raj

 

1 REPLY 1

avatar
Master Collaborator

Hi @RajB 

 

We need to check the logs for that coordinator/workflow to find out why it is stuck.

 

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

 

Regards,

Chethan YM