手记

hdp sandbox安装

PREREQUISITES

HDP DEPLOYMENT

DEPLOY HDP SANDBOX

Install/Deploy/Start HDP Sandbox

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 root@sandbox-hdp.hortonworks.com -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


0人推荐
随时随地看视频
慕课网APP