Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update for development moving to newer Ubuntu versions.

...

You will also need docker installed on your system. I recommend docker-ce on Ubuntu 1622.04. See the Jenkins bootstrap script or the Docker documentation for steps to install docker-ce.

...

Code Block
languagebash
./buildall.sh -release -skiptests -ninja -noclean -notests


ninja docker_images


Info
You may want to set USE_CDP_HIVE in bin/impala-config-local.sh to build containers with Hive 3 support


Info

Note - in future it would be nice if we could have a flag to buildall.sh to also build this target.

...

Code Block
$ docker image ls
REPOSITORY                                                                            TAG                 IMAGE ID            CREATED             SIZE
impala_base                                                                           latest              ffb1347a05b7        2 weeks ago         2.91GB
impalad_coord_exec                                                                    latest              dbea9fb26675        4 weeks ago         2.39GB
impalad_coordinator                                                                   latest              bd213630acce        4 weeks ago         2.39GB
statestored                                                                           latest              59372e24a8f7        4 weeks ago         2.39GB
catalogd                                                                              latest              d56a5adf86d0        4 weeks ago         2.39GB
impalad_executor                                                                      latest              a735455d0c83        4 weeks ago         2.39GB


Pushing Images to a Repository

./docker/push-images.sh is a script that can push the built images to a docker repository. See that script's help for more information.

Running Dockerized Minicluster

...

Automated end-to-end tests are run with this job: https://jenkins.impala.io/job/ubuntu-1620.04-dockerised-tests/https://github.com/apache/impala/blob/master/bin/jenkins/dockerized-impala-bootstrap-and-test.sh bootstraps ubuntu16.04 ubuntu from scratch and runs the tests.

...