Skip to content

Commit

Permalink
bug fix: --spark_env for the pyspark plugin, if defined, should expec…
Browse files Browse the repository at this point in the history
…t at least one argument
  • Loading branch information
adgaudio committed Dec 20, 2014
1 parent 83a85c9 commit f065c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stolos/plugins/pyspark_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _validate_sample_size(str_i):
" the task's default settings. ie:"
" spark.master=local[4] spark.ui.port=4046")),
at.add_argument(
'--spark_env', nargs='*',
'--spark_env', nargs='+',
type=lambda x: x.split('='), default=[],
help=("A list of key=value pairs to add to the spark executor's"
" environment. ie:"
Expand Down

0 comments on commit f065c4c

Please sign in to comment.