Fixing Common isssues with Cloudera HDP Docker
Hortonwords Data Platform (HDP) is a very useful out-of-the-box system with everything you need to get started doing Big Data Machine Learning.
It comes packed with awesome tools such as:
- Hadoop – big data file store
- Hive – SQL translation library to access the data in the big data file store
- HBase – Big Data Database
- Spark – Compute Cluster Manager
- Ambari – to manage everything else
If you are having issues with your Docker installation after following: https://www.cloudera.com/tutorials/sandbox-deployment-and-install-guide/3.html here are some fixes:
Issues with Docker sandbox-proxy container not starting right after installation?
If you are having issues with the sandbox-proxy container starting, clean-up your setup by removing the containers with:
docker rm -f sandbox-hdp sandbox-proxy
Then edit docker-deploy-{HDPversion}.sh and replace “==” with “=” where you see the if statements for $flavor:
# start the docker container and proxy
if [ "$flavor" == "hdf" ]; then
hostname="sandbox-hdf.hortonworks.com"
elif [ "$flavor" == "hdp" ]; then
hostname="sandbox-hdp.hortonworks.com"
fi
to:
# start the docker container and proxy
if [ "$flavor" = "hdf" ]; then
hostname="sandbox-hdf.hortonworks.com"
elif [ "$flavor" = "hdp" ]; then
hostname="sandbox-hdp.hortonworks.com"
fi
Thanks to https://superuser.com/questions/1478921/docker-sandbox-proxy-crashes-immediately-hdp-3-0-1
Issues with Ambari admin username/password?
If you are having issues logging into Ambari on 8080:
ssh -p 2222 root@localhost
Password: hadoop
Then:
ambari-admin-password-reset