python_mozetl icon indicating copy to clipboard operation
python_mozetl copied to clipboard

Create the SparkContext in a single place

Open acmiyaguchi opened this issue 9 years ago • 0 comments

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

acmiyaguchi avatar Aug 18 '17 23:08 acmiyaguchi