rbrush / kite-apps

Prescriptive Applications over Kite and Hadoop
Apache License 2.0
12 stars 3 forks source link

Remove job name from Job interfaces #19

Open rbrush opened 9 years ago

rbrush commented 9 years ago

Currently jobs must specify a name in a getJobName() method, which is used to make jobs visible in Oozie and Spark. This means the same job class can't be reused with different configuration under different names.

We can resolve this by removing the job name from that class and having the Schedule.Builder and StreamDescription.Builder specify the name of the job being submitted. This allows job implementations to be reused with different names and settings.