jcrist / hadoop-test-cluster

Dockerized setup for testing code on realistic hadoop clusters
https://jcrist.github.io/hadoop-test-cluster/
BSD 3-Clause "New" or "Revised" License
27 stars 11 forks source link

Can I add a Livy server docker image to this stack? #4

Open ericdill opened 6 years ago

ericdill commented 6 years ago

Hey @jcrist ,

Would you review and ultimately accept a PR that added Livy server to this hadoop stack?

jcrist commented 5 years ago

Yes, that'd be very welcome. I just redid the docker images so this should be a more tenable task now.

We now have a single Dockerfile with an ARG for which version of CDH to build. For the versions we care about this produces 2 images:

Both of these contain support for optional kerberos security based on a runtime envvar.

To extend with additional functionality, you'd create a new Dockerfile based on one of these images, install the required dependencies, copy in the required config, and copy in a supervisord config file for wherever the livy server should run (either edge or master I suspect?). This should just work with the htcluster command then:

htcluster startup --image your-image --config kerberos

I'd be happy to help get this working if you're still interested.

danielfrg commented 5 years ago

Eric LOOOOOVES Livy.

ericdill commented 4 years ago

ISTM i'll need to do the following: