-
Pull docker image
docker pull hortonworks/sandbox-hdp:2.6.5 -
Run HDP Sandbox container
docker run -d --name hdp-sandbox
--hostname sandbox-hdp.hortonworks.com
--privileged
-p 8080:8080 -p 2222:22
-p 80:80 -p 2181:2181 -p 8042:8042 -p 7077:7077 -p 8888:8888
-p 50070:50070 -p 9000:9000 -p 10000:10000
-p 9995:9995 -p 8020:8020
hortonworks/sandbox-hdp:2.6.5 -
View log
docker logs -f hdp-sandbox
output : Ambari Server 'STARTED' -
Use SSH into the Container
ssh root@localhost -p 2222 -
If port in use, change port using
e.g., -p 15070:50070http://localhost:15070 -
Remove a container
docker rm hdp-sandbox -
Remane container
docker run --name sandbox-hdp2 -
To start a sandbox later
docker start hdp-sandbox
1080 - Ambari UI
4040 - Spark UI
8080 - Hive
8888 - Jupyter Notebook
9995 - Zeppelin
16010 - HBase
50070 - HDFS
8088 - YARN (Yet Another Resource Negotiator)
https://github.com/kontext-tech/winutils/blob/master/hadoop-3.4.0-win10-x64/bin/winutils.exe