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.

How to run Scala program through Oozie action

avatar
Contributor

Hi

 

I have a scala program with a main class and main function. It is not a spark project. it is a utility project

 

how can i schedule the scala program as a oozie action

 

regards

Shafi

1 ACCEPTED SOLUTION

avatar
Contributor

Hi

 

Added it as dependent project to a spark project.

 

 

View solution in original post

2 REPLIES 2

avatar
Rising Star

You can use the Java action and call the main class just like it was written in Java: https://blog.cloudera.com/blog/2013/03/how-to-use-oozie-shell-and-java-actions/

 

 

avatar
Contributor

Hi

 

Added it as dependent project to a spark project.