Spark Asia-Pacific Research series "Spark Combat Master Road"-3rd Chapter Spark Architecture design and Programming Model Section 3rd: Spark Architecture Design (2)

Source: Internet
Author: User

Three, in-depth rdd

The Rdd itself is an abstract class with many specific implementations of subclasses:

The RDD will be calculated based on partition:

The default partitioner is as follows:

The documentation for Hashpartitioner is described below:

Another common type of partitioner is Rangepartitioner:

The RDD needs to consider the memory policy in the persistence:

Spark offers many storagelevel to choose from:

At the same time, Spark provides UNPERSISTRDD:

There is also a very important checkpoint operation for the RDD itself:

The details of the Docheckpoint are as follows:

In Newhadooprdd , for example, the internal information is as follows:

In Wholetextfilerdd , for example, the internal information is as follows:

The classic process of the RDD when generating a job call is as follows:

Spark Asia-Pacific Research series "Spark Combat Master Road-3rd Chapter spark Architecture design and Programming Model Section 3rd: Spark Architecture Design (2)

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.