10-02-2014 06:27 PM
Just downloaded the KVM CDH 5 have extracted the file "cloudera-quickstart-vm-5.1.0-1-kvm.qcow2"
What is the right command to run this qcow2 file I tried running the command
kvm -hda cloudera-quickstart-vm-5.1.0-1-kvm.qcow2 -vga std
after I run this command I see the prompt for Centos 6.2 and the progress bar completing after a long wait I get the message
Stack Call Trace : followed by hexadecimal code
I am guessing my kvm command is wrong any help appreciated. Is there any documentation on how to run the VM image for kvm ?
10-06-2014 02:27 PM
The qcow2 file is just a disk image. To boot it up with KVM you'll also need to define the amount of RAM, CPU resources, etc. The reason for distributing just the disk image is that it's usable in KVM, but is also commonly used in all sorts of systems that have their own ways of defining the rest of the hardware.
Since you're on Ubuntu, I'd refer you to these instructions for creating virtual machines from existing disk images: https://help.ubuntu.com/community/KVM/CreateGuests#Create_a_virtual_machine_from_pre-existing_image. Since you're running Ubuntu desktop, I'd also suggest you look at virt-manager (also discussed on that page) that provides a graphical interface for doing all this. It's what I use and you'll find it to be much easier to work with but also very powerful.
10-06-2014 02:53 PM
I downloaded the VMWare version and am using that for now. Will figure KVM some other time but it would be nice if there was some better documentation to "Getting Started for Cloudera - KVM" downloads
10-30-2015 11:45 AM
I run a Mint 17 linux system that is similar and derivative of Ubuntu, so I assume it is relevant for this post.
I installed all the libvirt prerequisites and also the virt-manager package.
I created the VM for the
image using the icon driven process. I used the choice "import existing disk image" and assigned the memory and CPU count..etc.
It all seemed to work fine until I tried to run the VM. The virt-manager showed the
boot sequence for the new VM but alas the system did not find a boutable disk.
Booting from Hard Disk..
Boot failed: not a bootable disk
No bootable device.
is there something I am missing?
any advice wyould be greatly appreciated,
10-31-2015 08:37 AM
So I figured out the problem..
For those of you using a linux setup with virt-manager and KVM, there is a small adjustment you have to make in order for the VM to boot after creation/installation.
When you create the VM or after, you have to adjust the configuration of the machine. There is an icon for viewing the "details" of the created VM.
Under details there is a settings item for the hard disk. Under this hard disk settings there is an "advanced options."
The disk bus should be "virtio" and the Storage format should be "qcow2"...apparently the default is "raw" so you have to be explilcit that it is qcow2.
10-09-2016 10:48 AM
I've downloaded cloudera-quickstart-vm-5.8.0-0-kvm.zip, and used it in Ubuntu16.04 with virt-manager, it works fine, I didn't change any settings.
But the cloudera VM is really slow, the CPU is always 100% even I don't do anything.
10-10-2016 05:07 AM
10-10-2016 08:19 AM