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.

SHARE:
TOPICS: Big Data
1

 |  Image 5 of 10

  • 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 192.168.1.35 (as shown in the previous screen), you'd type the following into your browser's address bar:
    http://192.168.1.35:8888

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


  • After logging in to Hue, its browser-based user interface for Hive, called Beeswax, comes up by default.  Beeswax allows you to enter SQL (well, technically, HiveQL) queries and see the results.  You can also save queries, upload files, edit Hive's settings, or create user-defined functions.

  • Thumbnail 1
  • Thumbnail 2
  • Thumbnail 3
  • Thumbnail 4
  • Thumbnail 5
  • Thumbnail 6
  • Thumbnail 7
  • Thumbnail 8
  • Thumbnail 9
  • Thumbnail 10

Topic: Big Data

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

Related Stories

Talkback

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

    Thanks for providing this info.
    jinishans