Created 05-19-2017 07:15 AM
HDP2.6 Sandbox on VMWare is not working. When I start up the VM for the first time, items such as ambari-agent restart or ambari-admin-password-reset are missing.
Things I tried:
find /-name "ambari-server"
Returns a whole plethora of ambari-server services, but none of them are in the right location.
It appears as if I have the docker version of HDP2.6 sandbox but I am pretty darn sure I downloaded the VMWare version (downloaded and repeated 3 times with the same result).
.ova files I downloaded:
HDP_2.6_vmware_19_04_2017_20_25_43_hdp_ambari_2_5_0_5_1.ova
HDP_2.6_vmware_05_05_2017_14_27_11_hdp.ova
For this reason I cannot launch the Ambari login page through port 8080. For this reason I cannot use any of the Hortonworks Spark tutorials such as "Take a lap around spark in 5 minutes". Which works with Spark 2.0 and IS NOT backwards compatable. When you run the tutorial with HDP2.5 Sandbox, you need to launch Zeppelin, which has version 0.6.0 installed. Version 0.6.0 is not compatable with Spark2.0, only with Spark1.6.3. As a result, even if you add a Spark2 interpreter and set the spark major version to 2, Zeppelin will not execute spark 2 commands.
I also tried to install the latest zeppelin (0.7.1) on HDP2.5 Sandbox, but this doesnt work.
Please point me in the right direction where I can find a working HDP2.6 for VMWare. Or alternatively, please explain what steps are being missed to start up the Ambari Services on my VMWare image.
Created 05-19-2017 08:50 AM
Hello,
@Philip du Plessis where did you download those versions? The correct place to download the latest bits is from https://hortonworks.com/downloads/#sandbox
You can double check if you have the right version by doing a md5sum on the finished download and comparing it to the one listed next to it; in the case of vmware that is:
Created 05-19-2017 08:52 AM
I downloaded from the official hortonworks page (described in your link). My MD5 checksum is d7bba72de7df82757fc9cc1f998fbe16. The VM size on the page is 10GB, not 10.9GB like some folks have mentioned.
Created 05-19-2017 09:38 AM
Hello,
@Philip du Plessis it seems you have the correct version of the sandbox however I cannot reproduce your issues. After importing the machine what are the exact steps you attempt?
Please mind that there are 2 connection ports, the 2222 port leads to the docker container that's running the actual sandbox, it's here you need to go to run that find command. The 22 port is the virtual machine that hosts the docker container and therefore non of the actual sandbox code.
Created 05-19-2017 10:24 AM
Thanks for the response,
I tried to connect using putty through the 2222 port with SSH. It will not allow me to connect. But when I connect using port 22, it does allow me to connect.
Any suggestions?
Created 05-19-2017 10:25 AM
Hello,
@Philip du Plessis what are your computer specs? To me it sounds like the machine started but can't start all the required services.
Created 05-19-2017 10:30 AM
Hi,
I am using VMWare Workstation 12 on Windows 10 and connecting via SSH with Putty. I have left the default of 8GB RAM although I have tried with RAM of 10GB and 12GB. My host has 16GB RAM.
Created 05-19-2017 10:35 AM
In HDP2.5 my machine works fine using the exact same VMWare and allocating 8GB RAM. I SSH via Putty using port 22 and I am able to restart all Ambari services.
Created 05-19-2017 10:41 AM
From the vm host, can you please post the outputs of 'sudo docker ps' ?
Created 05-19-2017 10:58 AM
The vm host is running on Windows. Docker isnt installed in there?
Created 05-19-2017 11:05 AM
You mentioned you are running the vmware version of it, so what I meant was login into the vmware host via port 22 and there you will have docker running ( hopefully ) the sandbox container.
Created 05-21-2017 07:57 AM
Guys- Initially I was getting the similar issue and had issue to reset admin password. later I downloaded full sandbox version HDP 2.6 from hortonworks official site. Opened the image using VMware Workstation. Connected through Putty using user "root" and used port-"2222". After that I ran - ambari-admin-password-reset and it worked fine.
Created 05-22-2017 03:56 AM
Connect to Sandbox using Command to access the Sandbox thru SSH:
ssh root@127.0.0.1 -p 2222;
java -version
or
Use Web Client Shell:
url : 127.0.0.1:4200
root/password
Created 05-22-2017 03:58 AM
Connect to Sandbox using Command to access the Sandbox thru SSH:
ssh root@127.0.0.1 -p 2222;
java -version
or
Use Web Client Shell:
url : 127.0.0.1:4200
root/password