Analyticstack can be run by following the steps below.
NOTE: Since a Docker-based devstack runs many containers, you should configure Docker with a sufficient amount of resources. We find that configuring Docker for Mac with a minimum of 2 CPUs and 6GB of memory works well for analyticstack. If you intend on running other docker services besides analyticstack ( e.g. lms, studio etc ) consider setting higher memory.
Follow steps 1 and 2 from the Getting Started section of the main documentation.
Before running the provision command, make sure to pull the relevant docker images from dockerhub by running the following commands:
make dev.pull make pull.analytics_pipeline
Run the provision command to configure the analyticstack.
make dev.provision.analytics_pipeline
Start the analytics service. This command will mount the repositories under the DEVSTACK_WORKSPACE directory.
NOTE: it may take up to 60 seconds for Hadoop services to start.
make dev.up.analytics_pipeline
To access the analytics pipeline shell, run the following command. All analytics pipeline job/workflows should be executed after accessing the shell.
make analytics-pipeline-shell
To see logs from containers running in detached mode, you can either use "Kitematic" (available from the "Docker for Mac" menu), or by running the following command:
make logs
To view the logs of a specific service container run
make <service>-logs
. For example, to access the logs for Hadoop's namenode, you can run:make namenode-logs
To reset your environment and start provisioning from scratch, you can run:
make destroy
NOTE: Be warned! This will remove all the containers and volumes initiated by this repository and all the data ( in these docker containers ) will be lost.
For information on all the available
make
commands, you can run:make help
For running acceptance tests on docker analyticstack, follow the instructions in the Running analytics acceptance tests in docker guide.
For troubleshooting docker analyticstack, follow the instructions in the Troubleshooting docker analyticstack guide.