Install Cloudera Hadoop in Ubuntu 14.04

As you know,  Install Hadoop is not easy. And It require a virtual machine with high configuration.  In my post, I will give you the shortest way to have Hadoop in your machine. It is installation via Docker. I assume that you had Docker in your Ubuntu 14.04

c85fe663-679e-4fe7-9f5f-f413af3f15cc-medium

If your dreams do not scare you. They are too small.

Prerequisites

  • Docker
  • Ubuntu 14.04
  • Ram 4G
  • CPU 2 core

Install

To install the docker-cloudera-quickstart from docker-hub, simply use the following command:

Use

To start an instance in BACKGROUND (as daemon):

To start an instance in FOREGROUND:

To open more terminal instances for the running instance:

Test MapReduce with WordCount example

Refer to: http://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html

Refer to: