Hadoop Scope of application

Source: Internet
Author: User

First, let's look at what Hadoop solves. Hadoop is the solution to the reliable storage and processing of big data (large to one computer cannot be stored, and one computer cannot be processed within the required time).

  • HDFS, which provides high-reliability file storage on a cluster of ordinary PCs, solves the problem of server or hard drive deterioration by saving multiple copies of the block.

  • MapReduce, through simple mapper and reducer abstraction, provides a programming model that can be distributed over a large number of datasets on an unreliable cluster of hundreds of dozens of of PCs on a single platform, while concurrently, Compute details such as distributed (Inter-machine communication) and fault recovery are hidden. The abstraction of mapper and reducer is the basic element that can be decomposed into various complex data processing. In this way, complex data processing can be decomposed into a directed acyclic graph (DAG) consisting of multiple jobs (one mapper and one reducer), and then each mapper and reducer are placed on the Hadoop cluster to produce the results.


  • limitations and weaknesses of Hadoop However, Maprecue has the following limitations, which are difficult to use.
      • Low level of abstraction, need to write code to complete, the use of difficult to get started.

      • Only two operations, map and reduce, lack of expressive power are provided.

      • A job with only map and reduce two phases (Phase), complex computations require a lot of job completion,

      • The processing logic is hidden in the code details, with no overall logic

      • Intermediate results are also placed in the HDFs file system

      • Reducetask need to wait until all maptask are complete before they can begin.

      • Singo, only for batch data processing, for interactive data processing, real-time data processing support is not enough

      • Poor performance for iterative data processing

    For example, the use of MapReduce to join two tables is a very skillful


    But with so much of the limitations of Hadoop mapreduce, there are a lot of new technologies to solve these problems. The more prominent technique is spark. Let's do some introductions.

    Apache Spark

    Apache Spark is an emerging big data processing engine that provides a cluster of distributed memory abstraction to support applications that require working sets. has the advantage of Hadoop MapReduce, but unlike MapReduce, the job intermediate output can be stored in memory, eliminating the need to read and write HDFs, As a result, spark is better suited for algorithms that require iterative mapreduce such as data mining and machine learning.


Hadoop Scope of application

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.