Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Scheduling a Python script in OOZIE

avatar
New Member

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
New Member

@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.