Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an ExecutionApp trait for objects to skip the Job class #1027

Merged
merged 2 commits into from
Aug 25, 2014

Conversation

johnynek
Copy link
Collaborator

I've used this in some private code. Seems to work well. Let's you write:

object MyJob extends ExecutionApp {
  def job = TypedPipe.from(List(1, 2, 3)).distinct.writeExecution(TypedTsv("output"))
}

This is the last piece of the modern, functionally pure way to write and run the jobs.

If you want to control have (Config, Mode) is parsed and created, override def config

@ianoc
Copy link
Collaborator

ianoc commented Aug 24, 2014

LGTM, merge when green

johnynek added a commit that referenced this pull request Aug 25, 2014
Add an ExecutionApp trait for objects to skip the Job class
@johnynek johnynek merged commit 77680c9 into develop Aug 25, 2014
@johnynek johnynek deleted the executionapp branch August 25, 2014 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants