Support Questions

Find answers, ask questions, and share your expertise

Sandbox HDP 3.0.1 guide doesn't work in Linux

New Contributor

I installed the Docker version of Sandbox HDP 3.0.1. Then I go to port 1080, 8080 and 4200 but none of them shows. 

I did add to /etc/hosts.

 

Also, Ambari doesn't run in the Sandbox. I tried to exec but it failed.

Password for ssh root port 2222 (hadoop) is not the right password.

 

This thread: https://community.cloudera.com/t5/Support-Questions/Installed-sandbox-but-can-t-get-the-welcome-HDP-...

 

doesn't answer the question because it ends up suggesting using VM instead of Docker.

 

I think the official guide is very old and needs update. Please help.

4 REPLIES 4

New Contributor
# start the docker container and proxy
if [ "$flavor" = "hdf" ]; then
 hostname="sandbox-hdf.hortonworks.com"
elif [ "$flavor" = "hdp" ]; then
 hostname="sandbox-hdp.hortonworks.com"
fi

 

The operator "==" is a standard number operator in bash, but it is not a string operator.  Please fix the official installation script and change it to "=" because we are comparing string. Everything works after this. I have yet to try to ssh password.

 

Ubuntu 18.04 LTS

Expert Contributor

@ecigar Did you follow instructions in Sandbox Deployment and Install Guide and Learning the Ropes of the HDP Sandbox?

Learning the Ropes will show you how to setup your /etc/hosts correctly - along with other good stuff.

There is also a short video describing the process: How to deploy sandbox using Docker

If you still have issues, please provide screenshots and deploy script output.

New Contributor

Did you solve this problem?

New Contributor

Hi there,

 

Any news about this problem? the only diference about my case it that I can connect to the port 1080. Checking inside de HDP container I can see 2 services down and I cannot make them work.

 

The services are:

sandbox-ambari-services.service 

sandbox-splash-web-server.service

 

The errors are: "sandbox-ambari-services.service start operation timed out. Terminating."

 

"splash-web-server.py[12590]: File "/usr/lib64/python2.7/SocketServer.py", line 419, in ...it__
Nov 04 11:54:33 sandbox-hdp.hortonworks.com splash-web-server.py[12590]: self.server_bind()
Nov 04 11:54:33 sandbox-hdp.hortonworks.com splash-web-server.py[12590]: File "/usr/lib64/python2.7/SocketServer.py", line 430, in ...bind
Nov 04 11:54:33 sandbox-hdp.hortonworks.com splash-web-server.py[12590]: self.socket.bind(self.server_address)
Nov 04 11:54:33 sandbox-hdp.hortonworks.com splash-web-server.py[12590]: File "/usr/lib64/python2.7/socket.py", line 224, in meth
Nov 04 11:54:33 sandbox-hdp.hortonworks.com splash-web-server.py[12590]: return getattr(self._sock,name)(*args)
Nov 04 11:54:33 sandbox-hdp.hortonworks.com splash-web-server.py[12590]: socket.error: [Errno 98] Address already in use
Nov 04 11:54:33 sandbox-hdp.hortonworks.com systemd[1]: sandbox-splash-web-server.service: main process exited, code=exited, stat...AILURE"

 

Also I notice the date inside the containers were different then my localhost and I fixed in both containers.

 

I don't really know wich folder to look the look of ambari as it seems to have two ambari services in the container. 

 

Any help wold be good.

 

Update:

Running the command "journalctl -xe" after trying to start the service I found the following message:

"Out of memory: Kill process 22821 (java) score 80 or sacrifice child
Nov 04 16:45:34 sandbox-hdp.hortonworks.com kernel: Killed process 22821 (java) total-vm:5618228kB, anon-rss:819040kB, file-rss:0kB, shmem"

 

I am running docker in a Windows 10 Pro with 32gb of ram. Also I am running most of the commands inside a Ubuntu with WSL 2. I can see my ram in windows is getting almost full with time, specially because a process called vmmem, but still I should have no problem. 

 

 

PS: I am kind of new with all of these new tools. Trying to study. 

 

Thanks in advance.