Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to run Scala program through Oozie action

Solved Go to solution

How to run Scala program through Oozie action

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

Accepted Solutions

Re: How to run Scala program through Oozie action

Contributor

Hi

 

Added it as dependent project to a spark project.

 

 

2 REPLIES 2
Highlighted

Re: How to run Scala program through Oozie action

Cloudera Employee

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/

 

 

Re: How to run Scala program through Oozie action

Contributor

Hi

 

Added it as dependent project to a spark project.