Working with Cloudera’s VM and Python and R

  1. Download Cloudera VM from
  2. Boot it up using VMware using instructions from and  (after download from
    1. 1

      Select File > Open.


      In the file selection window, find and select the virtual machine package or configuration file for the virtual machine to open.

      Virtual machine package files have the extension .vmwarevm. Virtual machine configuration files have the extension .vmx. You can view a file’s extension by selecting File > Get info.


      Click the Open button.

      VMware opens the virtual machine and powers it on.

  3. Download putty from (seriously dude)
  4. login to Cloudera VM using Putty as followScreenshot 2018-01-02 12.06.42IP address for connecting
    1. Username and Password – cloudera
  5. Install R using – sudo yum install R
  6. For Python see latest version at Screenshot 2018-01-02 12.24.13
  7. cd /opt
  8. sudo wget
  9. bash
  10. Accept all conditions!
  11. type jupyter notebook to launch Python in Notebook screenshot-2018-01-02-14-11-13.png
  12. For RStudio
    1. See download link from
    2.  sudo wget
    3. sudo bash
    4. yum install rstudio-1.1.383-x86_64.rpm
  13. For RStudio Server (better alternative since RStudio didnt work above)
    1. instructions from 
    2. $ wget
      $ sudo yum install --nogpgcheck rstudio-server-rhel-1.1.383-x86_64.rpm
    3. Open this http://localhost:8787/ in browser in VM and use cloudera cloudera as username and password
    4. Install packages as needed 🙂
    5. To check rstudio sessions type this in command line

sudo rstudio-server active-sessions 

Screenshot 2018-01-02 14.07.32

Hat tip –


Author: Ajay Ohri

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s