Hi Michel, please try local[1] and report back if the breakpoint were hit. 2015-09-18 7:37 GMT-07:00 Michel Lemay <mle...@gmail.com>:
> Hi, > > I'm adding unit tests to some utility functions that are using > SparkContext but I'm unable to debug code and hit breakpoints when running > under IntelliJ. > > My test creates a SparkContext from a SparkConf().setMaster("local[*]")... > > However, when I place a breakpoint in the functions inside a spark > function, it's never hit. > > for instance: > > rdd.mapPartitions(p => { > myFct(...) > }) > > Any help would be appreciated. > > >