Hadoop on your PC: Cloudera's CDH4 virtual machine

Hadoop on your PC: Cloudera's CDH4 virtual machine

Summary: Want to learn Hadoop without building your own cluster or paying for cloud resources? Then download Cloudera's Hadoop distro and run it in a virtual machine on your PC. I'll show you how.

TOPICS: Big Data

 |  Image 4 of 10

  • Thumbnail 1
  • Thumbnail 2
  • Thumbnail 3
  • Thumbnail 4
  • Thumbnail 5
  • Thumbnail 6
  • Thumbnail 7
  • Thumbnail 8
  • Thumbnail 9
  • Thumbnail 10
  • If you put the VM on your network, you'll be able to use Hadoop from your own PC (I'll show you how in the next two screens).  To make this work, just get into VMWare's Virtual Machine Settings dialog box, select the Network Adapter device and then the Connected check box.

    Now you're ready to get the VM's IP address and surf to it from your own browser.  Continue to the next screen for details on getting the IP address.

  • Cloudera's CDH4 runs its own Web server and a Web-based user interface, called Hue, sporting consoles for MapReduce, HDFS and Hive, along with browser-based command line shells for HBase and Pig.

    You can run Hue from your own PC's (i.e. the host's) Web browser, as long as you know the IP address of the VM.  Inside the VM, open an X terminal emulator command prompt (by clicking the highlighted icon at the bottom of the screen) and enter the ifconfig command to determine the address.  You'll see what to do with that address in the next screen...

  • To get to Hue, just open a browser on your own host PC (use Firefox or Chrome -- I had trouble with IE), and navigate to port 8888 at the IP address you just discovered.  For example, if the IP address were (as shown in the previous screen), you'd type the following into your browser's address bar:

    This will take you to the Hue login screen, pictured above.  Login using "cloudera" as both the user name and password.

Topic: Big Data

Andrew Brust

About Andrew Brust

Andrew J. Brust has worked in the software industry for 25 years as a developer, consultant, entrepreneur and CTO, specializing in application development, databases and business intelligence technology.

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Related Stories


1 comment
Log in or register to join the discussion
  • Looking for such option for quite some time.

    Thanks for providing this info.