How to install and use Cloudera QuickStart VM on Apple Silicon for free using UTM

How to install and use Cloudera QuickStart VM on Apple Silicon for free using UTM

A quick step by step guide on how to install and setup Linux Centos virtual machine for M1 based chips.

Cloudera quickstart VM has been a popular choice for many big data enthusiasts who wanted to learn open source Apache tech stack. Previously, many virtualisation providers like VMware, Oracle VM Virtualbox has been offering for the cloudera VMs and it used to be like cake walk to get started with learning big data tech stack like Hadoop, Hive, Sqoop, Kafka and PySpark.

When Apple introduced M1 based chips it took the market by storm for its performance and efficiency compared to anything on the market. It was the Apple silicon that made many PC users shift to Mac. However, it lacked one thing that stopped few software developers from using Mac for both work and personal purposes i.e lack of virtualisation support. It’s been two years since Apple silicon was launched and this is a step by step guide to install Cloudera VM on your Apple silicon.

System Requirements

  • Apple Silicon Mac 🔥🔥🔥

  • Minimum RAM: 8GB

Installation Steps

  • Install Cloudera QuickStart VM from the following link:

    Download Location: downloads.cloudera.com/demo_vm/kvm/cloudera..

    After downloading the file extract and save it in a directory/folder.

    You might see that a new Hortonworks Data Platform Sandbox available, please don’t download it. At the time of writing this article the sandbox hasn’t worked for me on Apple Silicon using “VMWare Fusion Player 13

https://www.cloudera.com/downloads/hortonworks-sandbox/hdp.html
  • UTM is a free virtualisation Mac software that runs on the Apple’s Hypervisor virtualization framework to run ARM64 operating systems on Apple Silicon. Download UTM :

    https://mac.getutm.app/
    
  • After installing the UTM, click on “Create a New Virtual Machine

image.png

  • Select the “Emulate” option

image.png

  • Click on the custom option and select “Other

image.png

  • Click on “Browse” and select the extract VM ISO image that we dowloaded previously. Check the “Skip ISO boot” and advance further

image.png

  • Select the memory and storage that you want to allocate for the VM. The minimum recommended memory size is 1GB. You can leave the default CPU cores as it is, else you can modify them too. Specify the storage size for the VM too.

image.png

  • Add shared directory path that you want the VM to have access and click “Continue” else you can proceed further without selecting

  • Click on “Edit Select VM” at the top right corner

image.png

  • On the settings page, under the drivers → Select “IDE Drive” -> "Delete Drive"

Screen Shot 2022-11-28 at 11.11.56 AM.png

  • Click on "Import" and select the extracted Cloudera VM image we downloaded previously

Screen Shot 2022-11-29 at 10.05.46 AM.png

  • Allocate the amount of storage you want for the VM to have. I have set it as 10GB

Screen Shot 2022-11-28 at 11.12.40 AM.png

  • Go to “QEMU” settings → disable “UEFI Boot” click “Save

image.png

  • Now wait few minutes for the magic to happen in the background, just kidding let the OS install in background

image.png

  • If everything went well, you will have Cloudera VM on your Apple Silicon and start your data engineering journey 🔥🔥🔥

image.png

You can follow me on social media: Twitter Github LinkedIn