News for hackers. Stuff that matters.
Re:Spark as a Compiler: Joining a Billion Rows per Second on... by mastratton3 on Monday May 23, 2016 @01:49PM (#11755500)
I've been personally very impressed with Spark's RDD api for easily parallelizing tasks that are "embarrassingly parallel". However, I have found the data frames API to not always work as advertised and thus I'm very skeptical of the benchmarks.

I think a prime example of this is I was using some very basic windowing functions and due to the data shuffling (The data wasn't naturally partitioned) it seemed to be very buggy and not very clear why stuff was failing. I ended up rewriting the same section of code using hive and it had both better performance and didn't seem to have any odd failures. I realize this stuff will improve but I'm still skeptical.

Re:Spark as a Compiler: Joining a Billion Rows per Second on... by tma-1 on Monday May 23, 2016 @01:53PM (#11755547)
I have been extensively using the dateframe/sql API and I just love it. Most of the issues I have had stemmed from the cluster / Spark configuration and not the API itself. Using SQL is so much more intuitive them using multiple joins, selects, filter etc on an rdd.
Re:Spark as a Compiler: Joining a Billion Rows per Second on... by mastratton3 on Monday May 23, 2016 @05:53PM (#11757361)
So I did find it useful for doing additional exploratory aggregations once the data was already cleaned and denormalized. My comment was more directed at the upfront initial data processing (In our case, extracting time series data out of a large amount of files).

I did hit issues w/ multiple joins and shuffling though. Have you not hit issues w/ shuffling?

I was using Spark 1.5.1 for the record.

Re:Spark as a Compiler: Joining a Billion Rows per Second on... by tma-1 on Monday May 23, 2016 @08:14PM (#11758002)
Have you tried tuning Spark's memory parameters?
Re:Spark as a Compiler: Joining a Billion Rows per Second on... by SixSigma on Monday May 23, 2016 @03:04PM (#11756033)
How difficult was the bug reporting process?

That is a good metric for a project.

Re:Spark as a Compiler: Joining a Billion Rows per Second on... by threeseed on Monday May 23, 2016 @08:58PM (#11758217)
Bug reporting is simple as per any Apache project i.e. JIRA.

But let's be clear here Spark is not a 'real' open source project. It's a dictatorship run by Databricks (in the nicest possible way). There are 414 outstanding pull requests some of which came from the likes of Intel which added subquery support over a year ago. Never got merged.

The best metric for any open source project is how easily can you contribute and improve the product.

Re:Spark as a Compiler: Joining a Billion Rows per Second on... by kod on Tuesday May 24, 2016 @11:54AM (#11762560)
I totally agree that's the best metric. I totally disagree with your characterization of Spark.

I showed up on the mailing list, said "hey, here's some stuff that was useful for me, let me know if it's useful for anyone else." A committer said, "cool, send a PR". Couple of rounds of code review and it was merged. Later on, bigger features required a lot more discussion, but as long as I was willing to follow up, I got my changes in.

Spark has on the order of 1,000 contributors. I'd call that a "real" open source project.

Re:Spark as a Compiler: Joining a Billion Rows per Second on... by rxin on Tuesday May 24, 2016 @03:40PM (#11764854)
Please keep the contributions coming!