Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start-container.sh脚本问题 #61

Open
TimHe95 opened this issue Sep 3, 2018 · 2 comments
Open

start-container.sh脚本问题 #61

TimHe95 opened this issue Sep 3, 2018 · 2 comments

Comments

@TimHe95
Copy link

TimHe95 commented Sep 3, 2018

脚本中的代码:
# start hadoop master container sudo docker rm -f hadoop-master &> /dev/null echo "start hadoop-master container..." sudo docker run -itd \ --net=hadoop \ -p 50070:50070 \ -p 8088:8088 \ --name hadoop-master \ --hostname hadoop-master \ kiwenlau/hadoop:1.0 &> /dev/null

但是下载的却是kiwenlau/hadoop-master:0.1.0,到底该用哪个呢?
最后我有5个镜像:
hhc_ _-bash_ _177x25

@yankj12
Copy link

yankj12 commented Sep 12, 2018

你直接执行start-container.sh即可,执行结束之后会直接进入到hadoop-master容器中。
在hadoop-master容器中,执行start-hadoop.sh就启动hdfs和yarn了

@pzhlkj6612
Copy link

使用kiwenlau/hadoop:1.0

你可能是先阅读了 基于Docker搭建多节点Hadoop集群 | KiwenLau,下载了文中提到的那 4 个镜像,现在它们已经不被需要了。

执行docker rmi删掉即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants