Spark Source Learning and Summary 1

Source: Internet
Author: User
Tags scala tutorial

One. Spark Source code compilation

Analytical:

wget http://archive.apache.org/dist/spark/spark-1.6.0/spark-1.6.0-bin-hadoop2.6-ZXVF spark-1.6.0-bin-hadoop2.6. TGZCD Spark-1.6.0-bin-hadoop2.6. /SBT/SBT Gen-idea

Description: After a lengthy wait, the above command generates the SBT project, and we can use the idea to open in SBT project mode.

Two. Detailed RDD implementation

You can persist Rdd,cache () by using the persist () or the cache () method as a shortcut to use persist (). To avoid the overhead of cache loss recalculation, we can use the checkpoint mechanism of spark so that when the downstream rdd goes wrong, you can continue to compute from the checkpoint Rdd.

Three. Scheduler module detailed

Four. Deploy module detailed

Five. Executor module detailed

Six. Shuffle module detailed

Seven. Storage module detailed

Reference documents:

[1] Scala Tutorial: Simple Build Tool sbt:http://www.importnew.com/4311.html

[2] Spark's cache and checkpoint:http://www.fuqingchuan.com/2015/06/949.html?utm_source=tuicool&utm_medium= Referral

[3] Spark Technology Insider: An in-depth understanding of the design and implementation principles of spark kernel architecture

Spark Source Learning and Summary 1

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.