Datalayer provides an up-to-date Docker image for Apache Ambari, the Manager for the Hadoop ecosystem.

Docker Image

Get the image with docker pull datalayer/ambari.

Git clone https://github.com/datalayer/datalayer-docker and start Ambari server with the start.sh script located in the ambari folder.

If you don’t want to clone the repository, simply run the following:

curl https://raw.githubusercontent.com/datalayer/datalayer-docker/master/ambari/start.sh -o start.sh ; bash start.sh

Configuration

You can use the DATALAYER_DOCKER_DETACHED environment variable to run in detached mode (default value is false, set it to true to run in detached mode):

DATALAYER_DOCKER_DETACHED=true start.sh

Setup

Browse http://localhost:8080, login to the Ambari server (username = admin, password = admin) and create your cluster.

Follow the steps described on the Hortonworks documentation.

Build

Build the Docker image with the build.sh script in the ambari folder.

If you want to enable Kerberos on your Hadoop cluster, you will need to download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files from the Oracle WEB Site and place the file in the jce folder.

Follow the steps described on the Hortonworks documentation to enable Kerberos.

License

Copyright 2016 Datalayer http://datalayer.io

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Back to top