Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDP sandbox startup too long on virtualbox

Highlighted

HDP sandbox startup too long on virtualbox

New Contributor

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?

12 REPLIES 12
Highlighted

Re: HDP sandbox startup too long on virtualbox

Super Guru
@Muhammad Syamsudin

2gb ram for sandbox 2.4 is too less, as per recommendations we should at-least give 8GB of RAM.

https://hortonworks.com/wp-content/uploads/2015/05/Import_on_Vbox_5_11_2015.pdf

Highlighted

Re: HDP sandbox startup too long on virtualbox

Expert Contributor

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.

Highlighted

Re: HDP sandbox startup too long on virtualbox

@Muhammad Syamsudin

Right as @Kuldeep Kulkarni mentioned. Please find some few more details on -

http://hortonworks.com/blog/announcing-sandbox-2-0/

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.
Highlighted

Re: HDP sandbox startup too long on virtualbox

Expert Contributor

@Muhammad Syamsudin, i'm getting the same issue.. did you fix the issue ?

Pls let me know the steps.

Highlighted

Re: HDP sandbox startup too long on virtualbox

Hi All,

I have given 8GB ram, but still it takes so much of time to load. pls find the attached screen shot.

VM : Vmware

HDP : hdp2.6

34640-hdp26-loading.png

Highlighted

Re: HDP sandbox startup too long on virtualbox

Explorer

Hi Gobi Subramani Have you had any help or solution on this. I am experiencing exactly the same problem as you.

Highlighted

Re: HDP sandbox startup too long on virtualbox

New Contributor

Hi, my virtual machine get stuck on centos 7 startup screen and does not proceed further. screenshot attached.virtualbox-hortonworks-docker-sandbox-hdp-07-11-20.png

Highlighted

Re: HDP sandbox startup too long on virtualbox

@Harish Ingle

Try opening a browser and navigating to http://localhost:8080

If Ambari opens up, then the sandbox has started fine and the VM screen has just not been refreshed (and can be safely ignored).

Highlighted

Re: HDP sandbox startup too long on virtualbox

New Contributor

@Edgar Orendain @Harish Ingle

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.

hortonworks-errors.jpg.

Don't have an account?
Coming from Hortonworks? Activate your account here