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 spark-submit command #137

Open
sylvinus opened this issue Jul 21, 2016 · 2 comments
Open

Add spark-submit command #137

sylvinus opened this issue Jul 21, 2016 · 2 comments

Comments

@sylvinus
Copy link

sylvinus commented Jul 21, 2016

I don't know if this is considered to be in the scope of flintrock, so this is obviously just a suggestion.

It could be handy after launching a cluster to be able to do:

flintrock spark-submit jobs/myjob.py

This would login into the cluster and run spark-submit with the --master flag already configured to spark://....:7077. Prior to that it could also maybe copy-file jobs/myjob.py to the cluster?

What do you think?

@nchammas
Copy link
Owner

I would say for now that this is out of the scope of the project, since it adds functionality that is beyond simple infrastructure management. I think you can also script this pretty easily with a few calls to flintrock copy-file and flintrock run-command.

However, I would like to leave this request open since this is a nice workflow improvement over doing all that stuff, and it's a common, Spark-specific thing users will want to do after launching their cluster.

@sylvinus
Copy link
Author

sylvinus commented Jul 30, 2016

(Launching spark-submit in a screen on the master would be great too so that you don't lose the job if disconnected)

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

No branches or pull requests

2 participants