I've re-started Hue (successfully) using command : service hue startĪlso, i started Cloudera Manager (successfully), using command : /home/cloudera/cloudera-manager -express -force
#Cloudera docker on mac mac
This should build the image and start the container named “cdh”.I've installed Cloudera Docker on Mac (referred link - )Ĭommand used for starting Cloudera Docker image -> docker run -privileged=true -hostname=quickstart.cloudera -t -i /usr/bin/docker-quickstart -p 80:80 -p 8888:8888 -p 7180:7180 Open a Docker terminal, place both the files within a folder and execute the command such as “./runCLoudera.sh cdh”. If thenĮcho "Docker Image $cd_image do not exist."Įcho "Can't find Dockerfile $cd_df in the current location"ĭocker run -privileged=true -ti -d -p 8888:8888 -p 80:80 -p 7180:7180 -name $1 -hostname=quickstart.cloudera -v /c/Users:/mnt/Users $cd_image /usr/bin/docker-quickstart # Build Cloudera image if it does not exists #!/bin/shĮcho "This script expect container name argument. This is a script to build the Cloudera image (if not present) and start the container. This is dockerfile for building Cloudera image FROM cloudera/quickstart:latest The following is the script which could be used to install/build the image and run the cloudera container. Enter the login/password as cloudera/cloudera and you are all set! It will open up the login page for Cloudera Manager. Open a browser and access the following command. With the above command, Cloudera starts as shown below:
Use the scripts below to start “cdh” cloudera container.ĭocker exec -ti cdh /home/cloudera/cloudera-manager -express Also, note the port such as 7180, 8888 mapped from guest to host.Įxecute the following command to start the Cloudera service assuming that you started the container with the name as “cdh”. You could as well check “docker images” command to find the tag name of Cloudera image and use it in place of “cloudera”.
#Cloudera docker on mac download
Download the Cloudera quickstart tar file.Use Docker file with following content: FROM cloudera/quickstart:latest Save the file as cloudera.df and then, use following command to build the image: docker build -t cloudera -f cloudera.df.Use command such as following: docker pull cloudera/quickstart:latest.For installation of Cloudera image, you could adopt following three methods:.Mind you this is going to take some time for image to build. As of date, Cloudera docker image is of size 4.4 GB.Memory related error while starting Cloudera manager service If not done, running “cloudera-manager –express” throws following error: Change the memory setting to 8192 (8 GB Ram).Change the processor (core) setting to 2.Then, change the settings as shown below. To run Cloudera in a Docker container, one is required to make the following configuration to the Docker machine. The following are the key points described in this article:
#Cloudera docker on mac free
Please feel free to comment/suggest if I fail to mention one or more important points. This article offers information and code/scripts which could be used to get started with Cloudera using Docker.