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:08AM (#21741717)
Looked at the Debian wiki the OP linked to:

>Debian currently does not include Hadoop packages. There are a number of reasons for this; in particular the Hadoop build process will load various dependencies via Maven instead of using distribution-supplied packages. Java projects like this are unfortunately not easy to package because of interdependencies; and unfortunately the Hadoop stack is full of odd dependencies (including Apache Forrest, which for a long time only worked with Java = 1.5).

>If you want to build Debian packages, the most complete efforts can be found at the Apache Bigtop project http://bigtop.apache.org/ . Unfortunately, the build process for these packages is currently of a disastrous quality, and should only be attempted within disposable virtual machines, as it requires root permissions and will install non-packaged software.

>These will allow building Hadoop packages on a recent Debian system. However, the resulting packages do not live up to Debian quality standards. In particular, they include copies of .jar files from other packages, and will thus not benefit from security updates done to these packages.

>If you are interested in getting Hadoop packages into Debian,

    Coordinate with the Java packaging team
    Coordinate with upstream Apache Bigtop 
>to avoid duplicate efforts. Thank you.

https://wiki.debian.org/Hadoop

Jesus Christ.

Re:The sad state of sysadmin in the age of containers (2015) by 0xFFFE on Monday December 09, 2019 @06:28AM (#21741803)
I recently went as far as setting up Bigtop on a VM to build the Deb packages, I gave up after 2 days. I would rather suffer through 2 root canal procedures back to back without anesthesia.
Re:The sad state of sysadmin in the age of containers (2015) by mitchell_h on Monday December 09, 2019 @09:52AM (#21743098)
On a bet a couple years ago someone gave me a week to compile and stand up most of the core hadoop services distributed by horton. 4 days in I lost my shit and desk flipped.
Re:The sad state of sysadmin in the age of containers (2015) by alfozan on Monday December 09, 2019 @06:27AM (#21741797)
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...

Re:The sad state of sysadmin in the age of containers (2015) by dig1 on Monday December 09, 2019 @06:47AM (#21741877)
Sell talk and buzzwords. Either author has no idea that Hadoop is ecosystem and Spark depends on it or deliberately mix Hadoop and Kubernetes, which aren't much related.

And good luck running Spark without Hadoop ;)

Re:The sad state of sysadmin in the age of containers (2015) by smabie on Monday December 09, 2019 @07:19AM (#21741996)
Spark doesn’t have a hard dependency on Hadoop. Spark doesn’t have a storage engine, but you don’t necessarily need one.
Re:The sad state of sysadmin in the age of containers (2015) by atomicity on Monday December 09, 2019 @09:11AM (#21742740)
Spark still depends on Hadoop for a lot:

- Using Parquet files = parquet-mr which is tied to Hadoop MR https://github.com/apache/spark/tree/master/sql/core/src/mai...

- Using S3 instead of HDFS = Hadoop S3a connector

Even if you don't run HDFS and YARN, you aren't escaping Hadoop. And if some configuration goes wrong, and you'll probably need to look into the Hadoop conf files.

The original comment was about the mass of libraries that Hadoop brings in. Spark isn't a solution that allows you to leave the mess. If you try to dockerize spark, you'll still see that you have 300 MB size images full of JARs that came from wherever.

Re:The sad state of sysadmin in the age of containers (2015) by dig1 on Monday December 09, 2019 @07:32AM (#21742046)
Yes, but my comment was about serious, production grade setup.
Re:The sad state of sysadmin in the age of containers (2015) by kylek on Monday December 09, 2019 @09:05AM (#21742694)
Spark and dependencies are just as much of a tire fire and you’ll often want Hadoop as well.
Re:The sad state of sysadmin in the age of containers (2015) by mixmastamyk on Monday December 09, 2019 @02:34PM (#21745600)
Sounds like this is the root issue, and not significantly about package managers.

No one is willing to invest the time to untangle the build process and fix compat issues in the software. The project is slowly dying out.

Re:The sad state of sysadmin in the age of containers (2015) by adamc on Monday December 09, 2019 @05:51PM (#21747532)
That triggered memories... happier in Python.