tree: 9d8357cd12bb663c6ec40074e6393717f80825ff [path history] [tgz]
  1. .tarignore
  2. Dockerfile.centos7
  3. Dockerfile.dist.ubuntu14.04
  4. Dockerfile.dist.ubuntu16.04
  5. Dockerfile.ubuntu14.04
  6. Dockerfile.ubuntu15.10
  7. Dockerfile.ubuntu16.04
  8. Readme.md
  9. build-artifacts.sh
  10. build-docker.sh
  11. cleanup-dockers.sh
  12. compile-docker.sh
  13. compile-platform.sh
  14. docker-compose.yml
  15. start-docker.sh
  16. stop-docker.sh
docker/Readme.md

Docker

To compile source using a docker container:

./docker/build-artifacts.sh <platform> <version_string> [source-tarball] <output-directory>
# e.g.  ./docker/build-artifacts.sh ubuntu14.04 testbuild ~/heron-release

To build docker containers for running heron daemons:

./docker/build-docker.sh <platform> <version_string> <output-directory>
# e.g. ./docker/build-docker.sh ubuntu14.04 testbuild ~/heron-release

To run docker containers for local dev work:

./docker/start-docker.sh heron:<version_string>-<platform>
# e.g. ./docker/start-docker.sh heron:testbuild-ubuntu14.04

To stop docker containers for local dev work:

./docker/stop-docker.sh

To submit/activate/kill a topology:

#To submit a topology:
        docker exec heron_executor_1 heron submit local /usr/local/heron/examples/heron-examples.jar com.twitter.heron.examples.ExclamationTopology ExclamationTopology --deploy-deactivated
#To activate a topology:
        docker exec -it heron_executor_1 heron activate local ExclamationTopology
#To kill a topology:
        docker exec -it heron_executor_1 heron kill local ExclamationTopology

To access heron ui:

  • determine the IP of your docker host
  • navigate to http://:8889 in your web browser