Created on 12-22-2015 07:48 AM - edited 09-16-2022 02:54 AM
Hi all
I am trying both CDH and VirtualBox for the first time so apologies in advance if this is a basic error. My configuration is as follows:
CDH 5.5 QuickStart VM
VirtualBox 5.0.12
OS X 10.11.2
MacBook Pro (Retina, 13-inch, Early 2015)
Memory: 8 GB
I have successfully installed VirtualBox and downloaded the QuickStart VM. When creating a new VM for CDH 5.5, I use the following options in VirtualBox:
Type: Linux
Version: Other Linux (64-bit)
Memory: 4096 MB (I am aware that I ought to use more but I lack memory on my laptop and don't believe that this is the cause of my problem)
Hard disk: "Use an existing virtual hard disk file" (I select the downloaded cloudera-quickstart-vm-5.5.0-0-virtualbox-disk1.vmdk file)
Then, when I try to start the VM, I see a large number of read-only filesystem errors and most services fail to start, e.g.
touch: cannot touch '/var/lock/subsys/atd': Read-only file system
A few services do start, e.g. Impala Server (impalad).
All of the filesystem errors appear to refer to the /var filesystem.
As per the instructions at http://www.cloudera.com/content/www/en-us/downloads/quickstart_vms/5-5.html, I have tried the following but with no effect:
"Some users have reported problems running CentOS 6.4 in VirtualBox. If a kernel panic occurs while the VirtualBox VM is booting, you can try working around this problem by opening the Settings > System > Motherboard tab, and selecting ICH9 instead of PIIX3 for the chip set. If you have not already done so, you must also enable I/O APIC on the same tab."
That's not surprising since my issue is the /var read-only filesystem, not a kernel panic.
Thanks in advance for any advice.
Kevin
Created 12-22-2015 08:21 AM
Created 12-22-2015 08:21 AM
Created 12-22-2015 08:23 AM
Many thanks Sean. (I posted much the same thing as I found a clue on another thread but my post crossed with yours.)
Created 01-12-2016 01:31 AM
Created 01-12-2016 07:08 AM
Everything in CDH is set up and running without Cloudera Manager. You can complete the tutorial (although a few sections will be irrelevant and get hidden if Cloudera Manager isn't launched), and all the examples in Hue should work (Hue has an option built-in to install examples for Hive & Impala SQL queries, the HBase and Search apps, Pig scripts and more). You can also run Hadoop and Spark jobs, etc. Pretty much anything you would actually use to store and process data should work.
Created 02-19-2016 08:10 AM
Created 12-22-2015 08:22 AM
Update: solved this one myself. Instead of doing what I did, I should have invoked File -> Import Appliance and selected the OVF file. That approach works much better 🙂