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

how to enable/use some profile via cmd line #989

Open
Agent1101 opened this issue Jul 24, 2019 · 0 comments
Open

how to enable/use some profile via cmd line #989

Agent1101 opened this issue Jul 24, 2019 · 0 comments

Comments

@Agent1101
Copy link

hi,
there is a ./conf/profiles that we can set many parameters of spark engine.
so how can I enable and use one of them via cmd line?
I am using snb with:

./spark-notebook -Dmanager.notebooks.dir=/home/me/ -Dhttp.port=8080 -Dclusters.profiles=$SNB_HOME/conf/profiles -Dclusters.file=$NB_HOME/conf/clusters

so like ?

./spark-notebook -Dmanager.notebooks.dir=/home/me/ -Dhttp.port=8080 -Dclusters.profiles=$SNB_HOME/conf/profiles -Dclusters.file=$SNB_HOME/conf/clusters -Dprofile=local

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

1 participant