#Cloudera docker on mac install
Set the Java Home Directory property to the custom location.ĭowngrade to Cloudera CDH 5.11 (from parcel)ĬDH 5.11 is required to install Spark 2.1.In the main navigation bar, click the Hosts tab and optionally click a specific host link.
Open the Cloudera Manager Admin Console.
#Cloudera docker on mac upgrade
Here some guide to upgrade to Java 8:ĭownload latest java 1.8 SDK, ( this at the time of writing) (Cloudera suggest to use a specific revision, but seems to be not necessary).Įxtract it inside /usr/java/jdk1.8.0_171 tar -xzf jdk-8u171-linux-圆4.tar.gzĪdd/modify inside /etc/profile, /etc/default/cloudera-scm-server and /etc/default/bigtop-utils the following line: export JAVA_HOME=/usr/java/jdk1.8.0_171 Often after starting the image you should manually restart every Cloudera services using curl -X POST -u "admin:admin" -i Upgrading cluster to Java 8 (1.8)īy default Cloudera container Java 7 (1.7). Try Graceful shutdown using: docker stop -time=60 quickstart.cloudera To solve run /etc/init.d/ntpd stop and /etc/init.d/ntpd start inside the container. In this way you can connect to any service without exposing any ports.Ĭredentials used inside the Cloudera quick start:įor unknown reason sometime ntpd service is not started and you will see clock offset problems. For example for hue, ( Then just browse to the requested service, for example to connect to cloudera manager.
For Mac, exposed services can be accessed using localhost.
#Cloudera docker on mac windows
IMPORTANT: For windows use your HOST ip instead of the container ip. Get the container IP using: docker inspect quickstart.cloudera | grep "\"IPAddress\"" Available servicesĬonsider adding hostname quickstart.cloudera inside /etc/hosts that point to your container IP for a more friendly usage. You can edit /usr/bin/docker-quickstart to disable the auto start of some of the services that you don't use to reduce the memory consumption. If you receive clock sync problems, try manually running /etc/init.d/ntpd start to sync time. NOTE: It will require several minutes to start all services and start to respond to http ports. IMPORTANT: For windows and Mac( docker/for-mac#2670), you should also expose one or more ports during docker run commands by adding options -p 8888:8888 -p 7180:7180 -p 8181:80 (host_port:container_port). To detach the tty without exiting the shell, use the escape sequence Ctrl+p + Ctrl+q ( hostname should not be changed, otherwise some services are not started correctly)Īttach to the container (to run command inside): docker attach quickstart.cloudera Run the container: docker run -name quickstart.cloudera \
Tag the image with a better name: docker image tag IMAGE_HASH cloudera-5-13
Import image inside your docker: docker import cloudera-quickstart-vm-5.13.0-0-beta-docker.tar Uncompress the file: tar -xf cloudera-quickstart-vm-5.13. This installation of Cloudera is for development only, do not use it in production.Īll the instructions are for host OS:Linux, unless specified.