News for hackers. Stuff that matters.
Re:Apache Arrow and MinIO by nl on Sunday September 20, 2020 @11:48PM (#24539596)
Back a few years ago (2017 I think) another dev and I took a Spark based system that was taking 3+ days to do aggregate processing over HBase-stored data.

We switched to it to Parquet on HDFS and did some (ok, a lot...)performance tuning and exactly the same processing ended up at 6 seconds.

TL;DR: You really really need to understand how Spark does data procesisng.

Re:Apache Arrow and MinIO by idunno246 on Monday September 21, 2020 @01:13AM (#24540043)
I’ve had some bad luck with hbase for similar but not tried spark - it’s better optimized for writers than readers iirc. Pinterest[1] did an interesting thing where they worked directly on the hfiles. Everywhere I’ve worked I feel like I could pick any random data processing job that took more than a few minutes and get orders of magnitude improvement, there’s just so much inefficiency

[1]https://medium.com/pinterest-engineering/open-sourcing-terra...

Re:Apache Arrow and MinIO by anshumaniax on Monday September 21, 2020 @03:29AM (#24540749)
What do you mean inefficiency. We use the bulk upload feature and do billions of puts in an hour and our scans can go against 3 billion rows an hour. HBase scales linearly and we are already operating it on 5 times what we had designed it for
Re:Apache Arrow and MinIO by idunno246 on Monday September 21, 2020 @09:39AM (#24543250)
Ah I meant that as separate comment, not hbase specifically, but that data pipelines need updating over time. Generally since what’s worth optimizing for changes as size increase, and there’s always that years old pipeline that takes hours to run that with a few changes could be minutes
Re:Apache Arrow and MinIO by anshumaniax on Monday September 21, 2020 @03:26AM (#24540735)
Really we went the exact other way for one of our use cases which required table scans and spark just lost. HBase just stores bytes in sorted order and once you know how to optimize for storage lots of wins can be achieved. I guess the use case here was aggregation so can definitely see some spark advantages.
Re:Apache Arrow and MinIO by nl on Monday September 21, 2020 @06:39AM (#24541814)
Yes, HBase index scans are very fast.

(Any index scan is extremely fast really. You can build your own indexes as separate Parquet files if you want to avoid HBase for some reason)