News for hackers. Stuff that matters.
Re:The sad state of sysadmin in the age of containers (2015) by buzzkillington on Monday December 09, 2019 @06:39AM (#21741850)
Spark is worse because you need Scala as well as regular Java.

I've tried building it for my day job, I would rather have a colonoscopy without sedation.

It's more pleasant and dignified.

Re:The sad state of sysadmin in the age of containers (2015) by itg on Monday December 09, 2019 @07:13AM (#21741967)
And then add PySpark on top of that. Couldn't leave my last job fast enough when they decided to use Hadoop/PySpark when the largest incoming files we received were at most a few GBs.
Re:The sad state of sysadmin in the age of containers (2015) by boxy310 on Monday December 09, 2019 @09:33AM (#21742936)
I once had a consulting gig where the customer desperately wanted to build a Spark/Scala ML pipeline, for a dataset that was 10 MB. We spent 3 months hammering it together for a flat Python process that would've taken us 2 weeks.
Re:The sad state of sysadmin in the age of containers (2015) by snaky on Monday December 09, 2019 @10:53AM (#21743636)
> This find xargs mawk pipeline gets us down to a runtime of about 12 seconds, or about 270MB/sec, which is around 235 times faster than the Hadoop implementation.

https://adamdrake.com/command-line-tools-can-be-235x-faster-...

Re:The sad state of sysadmin in the age of containers (2015) by buzzkillington on Monday December 09, 2019 @10:41AM (#21743511)
If you'd sent it off to mechanical Turk it would have been done in an afternoon.
Re:The sad state of sysadmin in the age of containers (2015) by marcinzm on Monday December 09, 2019 @11:42AM (#21744027)
I build it in a container for work and didn't find it that difficult to be honest. And Google has plenty of example Dockerfiles that show the steps needed.

The only real system dependencies are Java8, maven and texlive (and Python/R if you build for that). Then it's `make-distribution.sh` with the appropriate flags. Scala and everything else that is needed is downloaded by maven. The resulting directory is self-contained assuming you have java8 runtime on your target machine.

Re:The sad state of sysadmin in the age of containers (2015) by dcolkitt on Monday December 09, 2019 @12:09PM (#21744263)
FWIW, the below linked Dockerfile will download, build and install Spark in a single step.

https://gist.github.com/Mister-Meeseeks/1ebf875b6e1262449cbc...