when i started hdp 2.4 on my virtualbox in took way too long on startup i think it stopped after zepplin startup. My laptop have 6gb ram and I give 2gb ram on virtualbox. Can anyone help me with this problem?
Long story short, you don't have enough RAM. The minimum recommendation is 8gb of RAM. Try running it with 4gb of RAM. I've gotten older version of HDP to start up with 4gb of RAM, though it was incredibly slow. If you can get it started with 4gb of RAM, you can navigate to Ambari and turn off alot of tools you don't want to use, and that should make the user experience a little better.
One other possible solution is if you are using a Windows machine, ensure that you have enabled your BIOS settings for virtualization. In order to do so, you will need to restart your computer and bring up the BIOS settings before the OS finishes loading (I think you need to hold f10, or f12 on start up). In the bios, look for device configuration. In that folder there should be a setting with the name like enable virtualization.
EASY ENABLEMENT OF HBASE AND AMBARI
On the About Sandbox page in the Sandbox, you’ll find buttons to enable/disable Ambari and Hbase. We’ve shipped the Sandbox with these disabled to keep the memory requirements at the existing 4 Gb of physical RAM. In order to run Ambari or Hbase you’ll need to have 8Gb of of physical RAM and you’ll need to increase the memory allocation in your virtual machine to 4 Gb. If you have enough physical RAM, go ahead an increase the memory allocation to the VM and you’ll see a performance improvement.
I am also facing the same issue. I have tried navigating to http://localhost:8080 and I am able to see Ambari. I have tried connecting through putty to 127.0.0.1 at port 2222 but I am unable to connect to hdfs. On checking the jps, I see not all hadoop daemons are running and I am getting the response as provided in the attached snapshot. I am using 16 GB RAM out of which 8911 MB is allocated to the VM. The Oracle Virtual Box version I am using is 5.1.30 r118389 (Qt5.6.2). The HDP version is 2.6.3.
The version you have (2.5.x) should work as well, just mentioning in case you're interested.
That said, how much RAM is being allocated to the Sandbox? By default it should be requesting 8GB from VirtualBox, was this changed? Could you try SSH'ing into the sandbox (ssh email@example.com -p 2222) and if that doesn't work, then into the wrapping VM (ssh root@localhost -p 2122).