Public Repository

Last pushed: 9 months ago
Short Description
Short description is empty for this repo.
Full Description

version

software version
java 1.8.0_45
scala 2.11.4
Hadoop 2.7.3
Spark spark-2.1.0-bin-hadoop2.7
os centos6.5

after download

sudo docker network create --driver=bridge hadoop
sudo docker run --name hadoopcloud1 -h hadoopcloud1 -p 8088:8088 -p 50070:50070 -p 9000:9000 -p 10020:10020 -p 19888:19888 -p 8080:8080 -p 7077:7077 -p 4040:4040 -p 4044:4044 --net=hadoop -itd huangshihe/hadoop:0.2-spark-master
sudo docker run --name hadoopcloud2 -h hadoopcloud2 -P --net=hadoop -itd huangshihe/hadoop:0.2-spark-slave
sudo docker run --name hadoopcloud3 -h hadoopcloud3 -P --net=hadoop -itd huangshihe/hadoop:0.2-spark-slave

# enter container
sudo docker exec -it hadoopcloud1 bash

# in container
# prepare env
source /etc/profile
# start sshd
service sshd start
# make sure ssh can work
ssh hadoopcloud1
# if can't work, use "ssh-copy-id -i hadoopcloud<2/?>"
Docker Pull Command
Owner
huangshihe