Don't be too concerned about the Scala hoop. Before making the
commitment to Scala, I had coded up a modest analytic prototype in
Hadoop mapreduce. Once making the commitment, it took 10 days to
(1) learn enough Scala, and (2) re-write the prototype in Spark in
Scala. In so doing, the execution time for this prototype was cut
in 1/8 and the lines of code for identical functionality was about
1/10. A few things helped me... - Martin Odersky's "Programming in Scala". No need to read the whole thing, but use it as a reference and together with the course. - His "Functional Programming Principles in Scala" on Coursera. It's not necessary that you enroll in a concurrent course. "Enroll" in a past course and watch the videos and do a few exercises. https://class.coursera.org/progfun-003 - The cheat-cheats on the Scala website. http://docs.scala-lang.org/cheatsheets/?_ga=1.267044046.1769090313.1387491444 - Example code in Spark. Plenty of it to go around. Once you have experienced the glories of Scala, there's no turning back. It is a computer science cornucopia! Kevin On 10/28/2014 01:15 PM, Ron Ayoub
wrote:
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org |
- Is Spark in Java a bad idea? Ron Ayoub
- Re: Is Spark in Java a bad idea? critikaled
- Re: Is Spark in Java a bad idea? Matei Zaharia
- RE: Is Spark in Java a bad idea? Ron Ayoub
- Re: Is Spark in Java a bad idea? Matei Zaharia
- Re: Is Spark in Java a bad idea? Mark Hamstra
- Re: Is Spark in Java a bad idea? Kevin Markey