Hi Felix,
Just runned your code and it prints
Pi is roughly 4.0
Here is the code that I used as you didn't show what a random is I used the
nextInt()
val n = math.min(10L * slices, Int.MaxValue).toInt // avoid overflow
val count = context.sparkContext.parallelize(1 until n, slices).map
Dear Dirceu,
Below is our testing codes, as you can see, we have used "reduce" action to
evoke evaluation. However, it still did not stop at breakpoint-1(as shown in
the the code snippet) when debugging.
We are using IDEA version 14.0.3 to debug. It very very strange to us. Please
help u