Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Problems in installation hortonworks

avatar
New Contributor

+ registry=hortonworks
+ name=sandbox-hdp
+ version=2.6.5
+ proxyName=sandbox-proxy
+ proxyVersion=1.0
+ flavor=hdp
docker-deploy-hdp265.sh: 15: cannot create sandbox-flavor: Permission denied
+ echo hdp
+ mkdir -p sandbox/proxy/conf.d
+ mkdir -p sandbox/proxy/conf.stream.d
+ docker pull hortonworks/sandbox-hdp:2.6.5
2.6.5: Pulling from hortonworks/sandbox-hdp
Digest: sha256:0b34fa5cb197717828d6ffe547c23ad9b1c09f3b953e570e37f6f09809fbf3ba
Status: Image is up to date for hortonworks/sandbox-hdp:2.6.5
docker.io/hortonworks/sandbox-hdp:2.6.5
+ docker pull hortonworks/sandbox-proxy:1.0
1.0: Pulling from hortonworks/sandbox-proxy
Digest: sha256:42e4cfbcbb76af07e5d8f47a183a0d4105e65a1e7ef39fe37ab746e8b2523e9e
Status: Image is up to date for hortonworks/sandbox-proxy:1.0
docker.io/hortonworks/sandbox-proxy:1.0
+ [ hdp = hdf ]
+ [ hdp = hdp ]
+ hostname=sandbox-hdp.hortonworks.com
+ docker images
+ grep hortonworks/sandbox-hdp
+ awk {print $2}
+ version=2.6.5
+ docker network create cda
+ docker run --privileged --name sandbox-hdp -h sandbox-hdp.hortonworks.com --network=cda --network-alias=sandbox-hdp.hortonworks.com -d hortonworks/sandbox-hdp:2.6.5
docker: Error response from daemon: Conflict. The container name "/sandbox-hdp" is already in use by container "b1c48478c7d48e681a706f86de84fd23978be91001aef9efc6da18a24f99c21f". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
+ echo Remove existing postgres run files. Please wait
Remove existing postgres run files. Please wait
+ sleep 2
+ docker exec -t sandbox-hdp sh -c rm -rf /var/run/postgresql/*; systemctl restart postgresql;
Error response from daemon: Container b1c48478c7d48e681a706f86de84fd23978be91001aef9efc6da18a24f99c21f is not running
+ sed s/sandbox-hdp-security/sandbox-hdp/g assets/generate-proxy-deploy-script.sh
+ mv -f assets/generate-proxy-deploy-script.sh.new assets/generate-proxy-deploy-script.sh
+ chmod +x assets/generate-proxy-deploy-script.sh
+ assets/generate-proxy-deploy-script.sh
+ uname
+ grep MINGW
+ chmod +x sandbox/proxy/proxy-deploy.sh
+ sandbox/proxy/proxy-deploy.sh
docker: invalid reference format: repository name must be lowercase.
See 'docker run --help'.

 

And finally to desplegate Ambari i have this error

nivanecu_0-1645142331556.png

Please help i need your help, thanks

1 REPLY 1

avatar

Hi @nivanecu 

You didn't say what set of instructions you were following in order to do the installation, so this is going to be somewhat difficult to troubleshoot…but from what I've gathered from the output you've provided, you're attempting to install the HDP Sandbox. It seems like the problem here is not any issue with the HDP Sandbox, but with your use of Docker. Just picking up on the error message you've emphasized here:

 


docker: Error response from daemon: Conflict. The container name "/sandbox-hdp" is already in use by container "b1c48478c7d48e681a706f86de84fd23978be91001aef9efc6da18a24f99c21f". 

 

It appears that you have a pre-existing container that is causing a conflict. As a first stab at a solution, you could try removing that other container.

 

First, you're going to want to get a listing of all the containers you have. Issue the command docker ps -a at the command line. The output will give you a list of all the containers you have in use and their status. Confirm for yourself that the container identified by the error message is not in the 'running' status.

 

Then you can remove the container by issuing a command something like:

 


MBP15:~ ask_bill_brooks $ docker container rm -v \ b1c48478c7d48e681a706f86de84fd23978be91001aef9efc6da18a24f99c21f

 

Which will allow you to reuse the name that is causing the conflict you're encountering.

 

 

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.