Add "-Dspark.master=local[*]" to the VM properties of your test run.
On Mon, Sep 26, 2016 at 2:25 PM, Mohit Jaggi wrote:
> I want to use the following API SparkILoop.run(...). I am writing a test
> case as that passes some scala code to spark interpreter and receives
>
I want to use the following API SparkILoop.run(...). I am writing a test
case as that passes some scala code to spark interpreter and receives
result as string.
I couldn't figure out how to pass the right settings into the run() method.
I get an error about "master' not being set.
object