tree: 5668abbef60ce56573644a049a4c824c06def0f8 [path history] [tgz]
  1. .tarignore
  2. Dockerfile.centos7
  3. Dockerfile.dist.centos7
  4. Dockerfile.dist.ubuntu14.04
  5. Dockerfile.dist.ubuntu15.10
  6. Dockerfile.dist.ubuntu16.04
  7. Dockerfile.ubuntu14.04
  8. Dockerfile.ubuntu15.10
  9. Dockerfile.ubuntu16.04
  10. Readme.md
  11. build-artifacts.sh
  12. build-docker.sh
  13. cleanup-dockers.sh
  14. compile-docker.sh
  15. compile-platform.sh
  16. docker-compose.yml
  17. start-docker.sh
  18. 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