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

Overwriting configuration parameters from command line #672

Open
ahmet-uyar opened this issue Oct 18, 2019 · 0 comments
Open

Overwriting configuration parameters from command line #672

ahmet-uyar opened this issue Oct 18, 2019 · 0 comments
Assignees
Labels
improvement Suggestion for an improvement

Comments

@ahmet-uyar
Copy link
Collaborator

When we submit Twister2 jobs, we should be able to overwrite configuration parameters from command line. Many similar systems support this with double dash characters. For example Spark supports it with "--conf" as follows:
bin/spark-submit
--master k8s://https://:6443
--deploy-mode cluster
--name spark-pi
--class org.apache.spark.examples.SparkPi
--conf spark.executor.instances=5
--conf spark.kubernetes.container.image=twister2/spark:latest
--conf spark.kubernetes.authenticate.driver.serviceAccountName=spark
local:/opt/spark/examples/jars/spark-examples_2.11-2.4.0.jar

@supunkamburugamuve supunkamburugamuve added the improvement Suggestion for an improvement label Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Suggestion for an improvement
Projects
None yet
Development

No branches or pull requests

2 participants