Map reduce programming based on Hadoop (i)

Source: Internet
Author: User
Tags hadoop mapreduce

Translation of a foreign article on Hadoop MapReduce, the article is relatively long, first translation of the first part of it

Translated by: pconlin900

Blog: http://pconline900.javaeye.com

Hadoop is an open source Map-reduce framework for Apache, MapReduce is a parallel computing model for processing massive amounts of data. The model idea comes from Google's Jeffrey Dean and Sanjay Ghemawat, including map () reduce () two main features.

This is a simple example of a mapreduce application similar to Hadoop, applying the basic idea of MapReduce to help understand the processing ideas and techniques of Hadoop, but note that it does not use the Hadoop framework.

The function of the example is to create some strings and then count the occurrences of each character within those strings, and finally the total number of characters appears.

Listing 1. Main program

public class Main
{public
static void Main (string[] args)
{
Mymapreduce i = new Mymapreduce (); 
  my.init ();
}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.