Support Questions

Find answers, ask questions, and share your expertise

sandbox-proxy container crashes shortly after starting

avatar
New Contributor

Trying to set up HDP (3.0.1) on a fresh install of Ubuntu 18.04.3 on a 64bit PC.

Followed the instructions for deploying the Hortonworks Sandbox on Docker at https://www.cloudera.com/tutorials/sandbox-deployment-and-install-guide/3.html.

 

After running

 

sh docker-deploy-hdp30.sh

 

both images are successfully downloaded and can be started by

 

docker start sandbox-hdp
docker start sandbox-proxy

 

 

Unfortunately however, the sandbox-proxy container crashes after 2 seconds. I know this because submitting

 

docker ps

 

right after starting it shows that it does run for a moment.

 

 

docker logs sandbox-proxy

 

 returns this error message:

 

[emerg] 1#1: host not found in upstream "sandbox-hdp" in /etc/nginx/conf.d/http-hdp.conf:9
nginx: [emerg] host not found in upstream "sandbox-hdp" in /etc/nginx/conf.d/http-hdp.conf:9

 

 

This is essentially step 1 of the setup and deployment guide so I'm not sure what I could have done wrong. Here is output of running the deployment shell script: https://pastebin.com/FZyeqawX

Any suggestions on how to resolve this issue will be greatly appreciated.

11 REPLIES 11

avatar

hmmm ok maybe there is something in here:

 

+ [ hdp == hdf ]
./docker-deploy-hdp30.sh: 28: [: hdp: unexpected operator
+ [ hdp == hdp ]
./docker-deploy-hdp30.sh: 30: [: hdp: unexpected operator

 

looks like this is going wrong when running in linux sh

 

if you run this with bash then it works ...

avatar
New Contributor

Just use bash instead of sh

$ sudo bash docker-deploy-hdp30.sh

 My system : Ubuntu 20.04 | 8GB RAM | 50GB storage