python_mozetl
python_mozetl copied to clipboard
Create the SparkContext in a single place
There should be a single way of creating the spark context, instead of individual scripts handling it. It might be possible for the command group to pass the spark context as a click context.
http://click.pocoo.org/5/commands/#nested-handling-and-contexts
Nice to haves:
- Passing in alternative spark configurations
- Syntactic sugar