Commit 201d9176 authored by Steven Pisarski's avatar Steven Pisarski

Oops, checked a map for null instead of None

parent f37907bb
......@@ -74,7 +74,7 @@ object Generator extends App {
!= None && opts.get('seedEventsUri) != None) {
val sc = {
if (opts.get('sparkUri) != null) {
if (opts.get('sparkUri) != None) {
if (opts.get('appName) != None) new SparkContext(opts.get('sparkUri).get.asInstanceOf[String],
"EventGenerator")
else new SparkContext(opts.get('sparkUri).get.asInstanceOf[String],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment