Map Reduce Algorithm Design (Lecture 6) (Thiết kế thuật toán MapReduce)
- 페이지 수
- 35
- 형식
- PPT
- 크기
- 786 KB
- Trường
- University of Maryland
- 조회수
- 0
- 댓글
- 0
- Lượt tải
- 0
미리보기 생성 중...
Bài giảng về thiết kế thuật toán MapReduce, bao gồm các khái niệm cơ bản, kỹ thuật đồng bộ hóa, tối ưu hóa hiệu năng và các mẫu thiết kế như kết hợp trong bộ ánh xạ.
- 문서명
- Map Reduce Algorithm Design (Lecture 6) (Thiết kế thuật toán MapReduce)
- 학교 / 강의
- University of Maryland · Khai phá dữ liệu
- 내용
- Bài giảng về thiết kế thuật toán MapReduce, bao gồm các khái niệm cơ bản, kỹ thuật đồng bộ hóa, tối ưu hóa hiệu năng và các mẫu thiết kế như kết hợp trong bộ ánh xạ.
- 목차
- 이 문서는 명확한 목차가 없습니다.
- 페이지 수
- 35 페이지
- 업로더
- Uni24h
설명
Trích nội dung tài liệu
MapReduce Algorithm Design Adapted from Jimmy Lin’s slides MapReduce: Recap Programmers must specify: map (k, v) → <k’, v’>* reduce (k’, v’) → <k’, v’>* All values with the same key are reduced together Optionally, also: partition (k’, number of partitions) → partition for k’ Often a simple hash of the key, e.g., hash(k’) mod n Divides up key space for parallel reduce operations combine (k’, v’) → <k’, v’>* Mini-reducers that run in memory after the map phase Used as an optimization to reduce network traffic The execution framework handles everything else… “Everything Else” The execution framework handles everything else… Scheduling: assigns workers to map and reduce tasks “Data distribution”: moves processes to data Synchronization: gathers, sorts, and shuffles intermediate data Errors and faults: detects worker failures and restarts Limited control over data and execution flow All algorithms must expressed in m, r, c, p You don’t know: Where mappers and reducers run When a mapper or reducer begins or finishes Which input a particular mapper is processing Which intermediate key a particular reducer is processing k1 v1 k2 v2 map a 1 k4 v4 map b 2 c 3 combine a 1 k3 v3 c 6 a 5 map c 2 b 7 combine c 9 partition k6 v6 map combine b 2 k5 v5 a 5 partition combine c 2 b 7 partition 1 5 b 2 7 c 8 partition Shuffle and Sort: aggregate values by keys a c 8 c 2 9 8 reduce reduce reduce r1 s1 r2 s2 r3 s3 Tools for Synchronization Cleverly-constructed data structures Bring partial results together Sort order of intermediate keys Control order in which reducers process keys Partitioner Control which reducer processes which keys Preserving state in mappers and reducers Capture dependencies across multiple keys and values Preserving State Mapper object Reducer object one object per task state configure map state API initialization hook one call per input ke
자주 묻는 질문
이 문서는 무료인가요?
네. “Map Reduce Algorithm Design (Lecture 6) (Thiết kế thuật toán MapReduce)” 문서는 무료입니다. 로그인 후 '다운로드'를 클릭하여 원본 파일을 받으세요.
이 문서는 몇 페이지로 되어 있나요?
이 문서는 35페이지입니다, Khai phá dữ liệu 과정용. 다운로드하기 전에 온라인으로 미리 볼 수 있습니다.
다운로드하기 전에 미리 볼 수 있나요?
네. 이 페이지의 온라인 리더를 통해 문서를 미리 본 후 다운로드 여부를 결정할 수 있습니다.
Map Reduce Algorithm Design (Lecture 6) (Thiết kế thuật toán MapReduce)
미리보기 생성 중...
Trích nội dung tài liệu
MapReduce Algorithm Design Adapted from Jimmy Lin’s slides MapReduce: Recap Programmers must specify: map (k, v) → <k’, v’>* reduce (k’, v’) → <k’, v’>* All values with the same key are reduced together Optionally, also: partition (k’, number of partitions) → partition for k’ Often a simple hash of the key, e.g., hash(k’) mod n Divides up key space for parallel reduce operations combine (k’, v’) → <k’, v’>* Mini-reducers that run in memory after the map phase Used as an optimization to reduce network traffic The execution framework handles everything else… “Everything Else” The execution framework handles everything else… Scheduling: assigns workers to map and reduce tasks “Data distribution”: moves processes to data Synchronization: gathers, sorts, and shuffles intermediate data Errors and faults: detects worker failures and restarts Limited control over data and execution flow All algorithms must expressed in m, r, c, p You don’t know: Where mappers and reducers run When a mapper or reducer begins or finishes Which input a particular mapper is processing Which intermediate key a particular reducer is processing k1 v1 k2 v2 map a 1 k4 v4 map b 2 c 3 combine a 1 k3 v3 c 6 a 5 map c 2 b 7 combine c 9 partition k6 v6 map combine b 2 k5 v5 a 5 partition combine c 2 b 7 partition 1 5 b 2 7 c 8 partition Shuffle and Sort: aggregate values by keys a c 8 c 2 9 8 reduce reduce reduce r1 s1 r2 s2 r3 s3 Tools for Synchronization Cleverly-constructed data structures Bring partial results together Sort order of intermediate keys Control order in which reducers process keys Partitioner Control which reducer processes which keys Preserving state in mappers and reducers Capture dependencies across multiple keys and values Preserving State Mapper object Reducer object one object per task state configure map state API initialization hook one call per input ke
- 문서명
- Map Reduce Algorithm Design (Lecture 6) (Thiết kế thuật toán MapReduce)
- 학교 / 강의
- University of Maryland · Khai phá dữ liệu
- 내용
- Bài giảng về thiết kế thuật toán MapReduce, bao gồm các khái niệm cơ bản, kỹ thuật đồng bộ hóa, tối ưu hóa hiệu năng và các mẫu thiết kế như kết hợp trong bộ ánh xạ.
- 목차
- 이 문서는 명확한 목차가 없습니다.
- 페이지 수
- 35 페이지
- 업로더
- Uni24h
댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!
IoT Data Analytics (Phân tích dữ liệu trong Internet vạn vật)
Big Data Processing and Analytics Intro (Xử lý và phân tích dữ liệu lớn)
Introduction to Scalable Data Analytics using Apache Spark (Phân tích dữ liệu quy mô lớn sử dụng Apache Spark)
Frequent Item Sets Association Rules (Tập phổ biến và Luật kết hợp)
Relational Data Processing on MapReduce (Xử lý dữ liệu quan hệ trên MapReduce)
Tổng hợp Đề Toán 5 - Luyện thi vào Lớp 6 - CLB EMath
Bài giảng vật lý đại cương (Chương 3) - Đỗ Ngọc Uấn
Chương 8.Nguyên tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang

댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!