- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to run Scala program through Oozie action
- Labels:
-
Apache Oozie
Created on 08-25-2017 03:57 AM - edited 09-16-2022 05:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created 09-08-2017 05:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created on 09-05-2017 07:22 AM - edited 09-05-2017 07:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/
Created 09-08-2017 05:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Added it as dependent project to a spark project.
