Support Questions

Find answers, ask questions, and share your expertise

Scheduling a Python script in OOZIE

avatar
Contributor

Hi,

I have created a Python script. The script pulls RSS feed and writes the output to a text file. I would like to execute the Python job once a day. Can this be done using OOZIE? Please feel free to suggest a better solution.

Thanks for your help in advance!

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Bidyut B

this is a common request as I also was interested how to do it. As @Benjamin Leonhardi stated you use the standard shell action. Here's a sample Python workflow I created and tested on current release of Sandbox. If you want to use Python3 with Oozie, I added an example of that too, though it shouldn't be much different.

View solution in original post

12 REPLIES 12

avatar
Master Mentor

@Bidyut B are you not using Ambari? Start/stop Oozie with Ambari. Otherwise follow Oozie installation guide to install.

avatar
Contributor

@Artem Ervits .. Oozie is on with a 'green tick mark on Ambari'... How do I execute the job using the UI ?

avatar
Master Mentor

@Bidyut B unless you use hue there is no other UI to execute Oozie wf. You need to use she'll to submit them.