[GitHub] spark issue #20458: changed scala example from java "style" to scala

2018-01-31 Thread mantovani
Github user mantovani commented on the issue: https://github.com/apache/spark/pull/20458 Sean, I already tested. Can you please be more specific how should be the tests ? I just tested on Spark 2.1.1 and Scala 2.11 and 2.10. On Wed, Jan 31, 2018 at 19:19 Sean Owen

[GitHub] spark issue #20458: changed scala example from java "style" to scala

2018-01-31 Thread mantovani
Github user mantovani commented on the issue: https://github.com/apache/spark/pull/20458 If I change all examples of the documentation will be accept ? On Wed, Jan 31, 2018 at 6:41 PM, Sean Owen <notificati...@github.com> wrote: > Yeah, that's what I was

[GitHub] spark issue #20458: changed scala example from java "style" to scala

2018-01-31 Thread mantovani
Github user mantovani commented on the issue: https://github.com/apache/spark/pull/20458 I just tested with Scala 2.10.6 and worked perfect. 18/01/31 17:21:28 INFO DAGScheduler: Job 1 finished: count at Bootstrap.scala:14, took 0.024446 s DemoBug: rslt1 = 3 rslt2 = 3

[GitHub] spark issue #20458: changed scala example from java "style" to scala

2018-01-31 Thread mantovani
Github user mantovani commented on the issue: https://github.com/apache/spark/pull/20458 Hello Marcel, This is an old bug and was fixed long time ago, I just runned the following example and got the correct result: DemoBug: rslt1 = 3 rslt2 = 3 Doesn't make

[GitHub] spark issue #20458: changed scala example from java "style" to scala

2018-01-31 Thread mantovani
Github user mantovani commented on the issue: https://github.com/apache/spark/pull/20458 It's not just "will" work, _it's working_. I never said that it wasn't working, the Scala example was wrote using Java "style" not Scala "style" which . Which

[GitHub] spark issue #20458: changed scala example from java "style" to scala

2018-01-31 Thread mantovani
Github user mantovani commented on the issue: https://github.com/apache/spark/pull/20458 I just changed to the right section. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional

[GitHub] spark pull request #20458: changed scala example from java "style" to scala

2018-01-31 Thread mantovani
Github user mantovani commented on a diff in the pull request: https://github.com/apache/spark/pull/20458#discussion_r165180039 --- Diff: docs/quick-start.md --- @@ -299,19 +299,17 @@ We'll create a very simple Spark application, `SimpleApp.java`: import

[GitHub] spark pull request #20458: changed scala example from java "style" to scala

2018-01-31 Thread mantovani
GitHub user mantovani opened a pull request: https://github.com/apache/spark/pull/20458 changed scala example from java "style" to scala ## What changes were proposed in this pull request? I changed an example wrote in Scala using Java "style" to Scala &quo