/geodocker-cluster

GeoDocker Cluster is a Docker environment with Apache Accumulo and Apache Spark environment.

Primary LanguageShellArtistic License 2.0Artistic-2.0

GeoDocker Cluster

Docker containers with prepared environment to run GeoTrellis, GeoMesa, and GeoWave jobs. These images will create a set of containers, running in a distributed fashion, on a single machine. In practice, this requires being careful to ensure that enough memory is available for all images.

Environment

Repository short description (index of ReadMe docs)

Base images:

GeoTrellis, GeoMesa, and GeoWave:

Build a multinode cluster

A more detailed description how to run and to build containers can be found in each image directory.

  • Build serf container

    • cd serf; ./build.sh
  • Build base container

    • cd base; ./build.sh
  • Build master and slave containers

    • cd nodes; ./build.sh

Sart the n-node cluster.

  • cd nodes; ./start-cluster.sh --nodes=n # n >= 1

Probable issues and solutions

A possible use case, is to have possibility to access cluster outside the GeoDocker Cluster (on a separate machine or on a host machine). The probable issue can happen, trying to run some Accumulo related jobs where we have to provide a ZooKeeper node address.

WARN impl.ServerClient: Failed to find an available server 
in the list of servers: [master1.gt:9997 (120000), slave1.gt:9997 (120000)]

The cause of the problem, that inside docker cluster used own dns, so the client machine where this error happened has no dns records for master1.gt hostname. The solution is to provide it manually (as a variant just to add it into the /etc/hosts file).

License