Member since
02-28-2018
9
Posts
1
Kudos Received
0
Solutions
05-28-2020
06:41 AM
1 Kudo
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 ...
... View more
05-28-2020
06:00 AM
the splash screen opens ok now at http://sandbox-hdp.hortonworks.com:1080/splash.html# but anything else still an issue: 2020/05/28 12:53:33 [error] 7#7: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 172.24.0.1, server: sandbox-hdp.hortonworks.com, request: "GET / HTTP/1.1", upstream: "http://172.24.0.2:8080/", host: "sandbox-hdp.hortonworks.com:8080", referrer: "http://sandbox-hdp.hortonworks.com:1080/splash.html"
172.24.0.1 - - [28/May/2020:12:53:33 +0000] "GET / HTTP/1.1" 502 173 "http://sandbox-hdp.hortonworks.com:1080/splash.html" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0" "-"
2020/05/28 12:53:33 [error] 7#7: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 172.24.0.1, server: sandbox-hdp.hortonworks.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.24.0.2:8080/favicon.ico", host: "sandbox-hdp.hortonworks.com:8080"
172.24.0.1 - - [28/May/2020:12:53:33 +0000] "GET /favicon.ico HTTP/1.1" 502 173 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0" "-"
... View more
05-28-2020
05:51 AM
turned out the sandbox-hdp container was not on the cda network ...? after adding it to the cda network (the same as the sandbox-proxy) the sandbox proxy keeps running... still issues with it but one step further ...
... View more
05-28-2020
05:32 AM
OK, i am on docker just ran the script, I also had some port conflicts, fixed those. but the proxy container still dies after two seconds. log: 2020/05/28 12:12:24 [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
2020/05/28 12:13:49 [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 do I need to set this in my /etc/hosts file on my ubuntu 18.04 host ?
... View more
05-28-2020
05:27 AM
this is fixed now dont know how to remove a message?
... View more
05-28-2020
05:21 AM
this is still not fixed now.... change the == to one = make sure you mitigate all conflicting port numbers
... View more