Wednesday, March 14, 2012

On Cloudera Training VM. Still no Oracle VM Virtual Box image available

Today I was looking at the virtual machines provided by CloudEra. I first downloaded the Virtual Box image, extracted but I discovered my Oracle VM VirtualBox Manager was not able to load it.
Look at my console:
cm1077ch@cm1077ch-pom:~$ cd VirtualBox\ VMs/
cm1077ch@cm1077ch-pom:~/VirtualBox VMs$ cd cloudera-demo-vm-cdh3u3-virtualbox
cm1077ch@cm1077ch-pom:~/VirtualBox VMs/cloudera-demo-vm-cdh3u3-virtualbox$ ll
total 2514380
drwxrwxr-x 2 cm1077ch cm1077ch 4096 2012-03-14 16:43 ./
drwxr-xr-x 8 cm1077ch cm1077ch 4096 2012-03-14 16:43 ../
-rw-r--r-- 1 cm1077ch cm1077ch 2574712832 2012-03-14 15:13 cloudera-demo-vm.vmdk


Where is my virtual box image ?!?!?!?

I then downloaded the VM Ware image and discovered that...
cm1077ch@cm1077ch-pom:~/VirtualBox VMs/cloudera-demo-vm-cdh3u3-virtualbox$ cd ..
cm1077ch@cm1077ch-pom:~/VirtualBox VMs$ mv ../Downloads/cloudera-demo-vm-cdh3u3-vmware.tar.gz .
cm1077ch@cm1077ch-pom:~/VirtualBox VMs$ tar xvfz cloudera-demo-vm-cdh3u3-vmware.tar.gz
cm1077ch@cm1077ch-pom:~/VirtualBox VMs$ cd cloudera-demo-vm-cdh3u3-vmware/
cm1077ch@cm1077ch-pom:~/VirtualBox VMs/cloudera-demo-vm-cdh3u3-vmware$ ll
total 2504528
drwxr-xr-x 2 cm1077ch cm1077ch 4096 2012-01-30 21:47 ./
drwxr-xr-x 9 cm1077ch cm1077ch 4096 2012-03-14 16:52 ../
-rw-r--r-- 1 cm1077ch cm1077ch 2564620288 2012-01-30 21:47 cloudera-demo-vm.vmdk
-rw-r--r-- 1 cm1077ch cm1077ch 1286 2012-01-30 21:47 cloudera-demo-vm.vmx


the image was the same!!!

So no Virtual Box image still is available. To convert those VM Ware iamges on a Virtual Box one simply convert one of them with the following commands:
cm1077ch@cm1077ch-pom:~/VirtualBox VMs/cloudera-demo-vm-cdh3u3-virtualbox$ pwd
/home/cm1077ch/VirtualBox VMs/cloudera-demo-vm-cdh3u3-virtualbox
cm1077ch@cm1077ch-pom:~/VirtualBox VMs/cloudera-demo-vm-cdh3u3-virtualbox$ qemu-img convert cloudera-demo-vm.vmdk /tmp/cloudera-demo-vm_raw.bin
cm1077ch@cm1077ch-pom:~/VirtualBox VMs/cloudera-demo-vm-cdh3u3-virtualbox$ VBoxManage convertdd /tmp/cloudera-demo-vm_raw.bin cloudera-demo-virtualbox.vdi
Converting from raw image file="/tmp/cloudera-demo-vm_raw.bin" to file="cloudera-demo-virtualbox.vdi"...
Creating dynamic image with size 5475663872 bytes (5222MB)...
cm1077ch@cm1077ch-pom:~/VirtualBox VMs/cloudera-demo-vm-cdh3u3-virtualbox$
cm1077ch@cm1077ch-pom:~/VirtualBox VMs/cloudera-demo-vm-cdh3u3-virtualbox$ rm cloudera-demo-vm.vmdk


Then create a New Virtual Machine Linux/Ubuntu with 2048 MB of RAM, check Start-up Disk and Use existing hard disk as the following images:







That's all.

3 comments:

Anonymous said...

If you want to take much from this paragraph then you have to apply these strategies
to your won blog.

Also visit my homepage: height to waist ratio

oakleyses said...

abercrombie and fitch, instyler, ghd, bottega veneta, ugg boots, jimmy choo outlet, soccer shoes, ugg pas cher, herve leger, beats by dre, birkin bag, abercrombie and fitch, north face jackets, soccer jerseys, mont blanc, rolex watches, lululemon outlet, celine handbags, nike roshe run, nike trainers, giuseppe zanotti, hollister, wedding dresses, nike huarache, mcm handbags, vans shoes, chi flat iron, babyliss pro, north face outlet, nike roshe, ugg australia, ugg, marc jacobs, barbour, nfl jerseys, p90x, new balance shoes, asics running shoes, ferragamo shoes, mac cosmetics, insanity workout, uggs outlet, reebok outlet, longchamp, valentino shoes

oakleyses said...

converse, air max, gucci, canada goose, juicy couture outlet, canada goose, wedding dresses, moncler, ralph lauren, lancel, montre homme, moncler, louboutin, oakley, karen millen, vans, coach outlet store online, air max, canada goose jackets, ugg, hollister clothing store, louis vuitton, baseball bats, hollister, rolex watches, juicy couture outlet, iphone 6 cases, canada goose uk, canada goose outlet, ugg, moncler, moncler outlet, timberland boots, hollister, supra shoes, moncler, canada goose, converse shoes, toms shoes, moncler, moncler, canada goose, ugg boots, ray ban, parajumpers, canada goose