PREREQUISITES
Docker Installed, version 17.09 or newer
A computer with minimum 8 – 12 GB RAM to spare
HDP DEPLOYMENT
DEPLOY HDP SANDBOX
Install/Deploy/Start HDP Sandbox
Download latest scripts Hortonworks Data Platform (HDP) for Docker and decompress zip file.
In the decompressed folder, you will find shell script docker-deploy-{version}.sh. From the command line, Linux / Mac / Windows(Git Bash), run the script:
cd /path/to/script sudo sh docker-deploy-{HDPversion}.sh
如果机器内存较少,可以修改docker-deploy-{HDPversion}.sh,在docker run那一行添加-m 参数设置container使用内存
VERIFY HDP SANDBOX
docker ps
You should see something like:
image.png
TERMINAL ACCESS
用户名:root 密码:hadoop
ssh [email protected] -p 2222
修改ambari admin登陆密码
ambari-admin-password-reset
如果出现
ERROR: Exiting with exit code 1. REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting
在/etc/ambari-server/conf/ambari.properties文件中添加一行:
server.startup.web.timeout=120
然后重启ambari-server
ambari-server restart
作者:blotstorm
链接:https://www.jianshu.com/p/d67092375f82
點擊查看更多內容
為 TA 點贊
評論
評論
共同學習,寫下你的評論
評論加載中...
作者其他優質文章
正在加載中
感謝您的支持,我會繼續努力的~
掃碼打賞,你說多少就多少
贊賞金額會直接到老師賬戶
支付方式
打開微信掃一掃,即可進行掃碼打賞哦