Home > other >  [] the spark for help, Why do I use the IDEA to run a simple spark program result is wrong
[] the spark for help, Why do I use the IDEA to run a simple spark program result is wrong

Time:09-28

SparkPi example of I is to use the official to change, the HTML code is as follows, I just want to add up this list of 1, 2, 3, 4, the answer is 10, but the IDEA is given as a result of the four, this is for hair ah, every time I found that no matter how the result is correct, in the spark - shell is right ah, don't know where is my understand wrong
  • Related