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

Get the JobIDs for an active faunus job #164

Open
erickt opened this issue Dec 3, 2013 · 0 comments · May be fixed by #165
Open

Get the JobIDs for an active faunus job #164

erickt opened this issue Dec 3, 2013 · 0 comments · May be fixed by #165

Comments

@erickt
Copy link

erickt commented Dec 3, 2013

Right now there is no easy way to programmatically submit a faunus job from a java application and poll the job tracker for status. This would be handy for a UI to display the job progress. I can think of two solutions:

  • Expose a public getJobs method on FaunusCompiler. This is pretty simple, but it then starts to feel like we're mashing a lot of responsibilities in the compiler.
  • I think a better approach would be to add a FaunusJobControl in the same vein of Hadoop's JobControl. It could control running each step of the faunus job and provide a nice place to expose job status.
erickt pushed a commit to Lab41/faunus that referenced this issue Dec 10, 2013
This patch splits FaunusCompiler into two classes. The first
factors out the management of running the multistage job into
a FaunusJobControl class. The second class is a FaunusTool
that implements the hadoop Tool interface and uses the
FaunusJobControl to run the jobs. This makes FaunusCompiler
a bit more orthogonal

This closes thinkaurelius#164.
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 a pull request may close this issue.

1 participant