Hortonworks images (Hadoop)

 

You can follow the official instructions for Hortonworks on OpenStack here.


Notice that you probably do not need the VBoxManage command, as qemu-img can directly convert from the vmdk format to the qcow 2 one e.g.

qemu-img convert -f vmdk -O qcow2 <YOUR_IMAGE_NAME>.vmdk <YOUR_IMAGE_NAME>.qcow2

(on Mac OS X you can install qemu with brew i.e. ‘brew install qemu’). An installation guide for brew is on the Homebrew homepage

As the images are quite big, it is recommended that you stick to the qcow2 format when you upload the image to Openstack, as a raw image would be approximately as big as 40 GB of size, whereas the qcow2 one will be only 10 GB.

Once the qcow2 image has been uploaded to Openstack, you can login in the OpenStack Dashboard and create a volume directly out of it, with a 'Size' of at least 80 GB: go to Images, then next to the displayed image file click on 'More' and then choose 'Create Volume'.

This will create a volume which can be used to launch an instance, using the 'Instance Boot Source' option 'Boot from volume' (in 'Instances' and then clicking on 'Launch instance'). It is recommended that a Flavor c1.xlarge or bigger be chosen, due to the requirements of the Hadoop software that will run within the instance.


IMPORTANT: once a new instance is started, it is imperative that the root password be changed immediately! One should preferably disable ssh root access and use ssh public key login only. The password for access to any web services/interface MUST also be changed immediately after booting!

The standard security group settings described in our documentation are needed to allow ssh access to the instance, please refer to the SWITCHengines official documentation for this.