I'm trying to use the json4s library in a spark job to push data back into kafka. Everything was working fine when I was hard coding a string, but now that I'm trying to render a string from a simple map it's failing. The code works in sbt console.
working console code: https://gist.github.com/rustyrazorblade/daa50bf05ff0d48ac6af failing spark job line: https://github.com/rustyrazorblade/killranalytics/blob/master/spark/src/main/scala/RawEventProcessing.scala#L114 exception: https://gist.github.com/rustyrazorblade/1e220d87d41cfcad2bb9 I've seen examples of using render / compact when I searched the ML archives, so I'm kind of at a loss here. Thanks in advance for any help. Jon