Giới thiệu về Data Flow Languages và Apache Pig - Julian M. Kunkel
Generating preview...
Slide bài giảng giới thiệu về Data Flow Languages và Apache Pig, bao gồm mô hình dữ liệu, ngôn ngữ Pig Latin, truy cập dữ liệu và kiến trúc thực thi.
Description
Data Flow Languages & Apache Pig Lecture BigData Analytics Julian M. Kunkel julian.kunkel@googlemail.com University of Hamburg / German Climate Computing Center (DKRZ) 2017-01-13 Disclaimer: Big Data software is constantly updated, code samples may be outdated. Overview Pig Latin Accessing Data Architecture Summary Outline 1 Overview 2 Pig Latin 3 Accessing Data 4 Architecture 5 Summary Julian M. Kunkel Lecture BigData Analytics, 2016 2 / 32 Overview Pig Latin Accessing Data Architecture Summary General Data Model for Dataflow Languages Data Tuple t = (x1 , ..., xn ) where xi may be of a given type Input/Output = list of tuples (like a table) Typical Operators for Data-Flow Processing Operations process individual tuples Map/Foreach: process or transform data of individual tuples or group transform a tuple: student.Map((matrikel, name) ⇒ (matrikel + 4, name)) count members for each group: groupedStudents.Map((year) ⇒ count()) Filter tuples by comparing a key to a value Operations that require the complete input data Group tuples by a key Sort data according to a key Join multiple relations together Split tuples of a relation into multiple relations (based on a condition) Julian M. Kunkel Lecture BigData Analytics, 2016 3 / 32 Overview Pig Latin Accessing Data Architecture Summary Data Flow Programming Paradigm [68] Focus: data movement and transformation Compare to imperative programming: sequence of commands Models program as directed graph of data flowing between operations Input/output is illustrated as a node Node is an operation, edges are dependencies Operation is run once all inputs become valid An operation might work on a single data element or on the complete data Parallelism is inherently supported by data flow languages States (in the program) Dataflow works best with stateless programs Stateful dataflow graphs support mutable state Data related states, e.g., reductions, may be encoded as data Programming Func
AI summary
- Document name
- Giới thiệu về Data Flow Languages và Apache Pig - Julian M. Kunkel
- School / Course
- University of Hamburg · Big Data
- Content
- Tài liệu này giới thiệu về các khái niệm cơ bản của ngôn ngữ luồng dữ liệu và Apache Pig, một nền tảng xử lý dữ liệu lớn. Nó mô tả cách dữ liệu được biểu diễn, các toán tử xử lý, mô hình lập trình, và cách trực quan hóa bằng sơ đồ luồng, cũng như kiến trúc và ngôn ngữ Pig Latin của Apache Pig.
- Table of contents
- Overview
- Pig Latin
- Accessing Data
- Architecture
- Summary
- Pages
- 33 pages
- Uploaded by
- Uni24h
Frequently asked questions
Is this document free?
Yes. “Giới thiệu về Data Flow Languages và Apache Pig - Julian M. Kunkel” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 33 pages, for the course Big Data. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.
Giới thiệu về Data Flow Languages và Apache Pig - Julian M. Kunkel
Generating preview...
Data Flow Languages & Apache Pig Lecture BigData Analytics Julian M. Kunkel julian.kunkel@googlemail.com University of Hamburg / German Climate Computing Center (DKRZ) 2017-01-13 Disclaimer: Big Data software is constantly updated, code samples may be outdated. Overview Pig Latin Accessing Data Architecture Summary Outline 1 Overview 2 Pig Latin 3 Accessing Data 4 Architecture 5 Summary Julian M. Kunkel Lecture BigData Analytics, 2016 2 / 32 Overview Pig Latin Accessing Data Architecture Summary General Data Model for Dataflow Languages Data Tuple t = (x1 , ..., xn ) where xi may be of a given type Input/Output = list of tuples (like a table) Typical Operators for Data-Flow Processing Operations process individual tuples Map/Foreach: process or transform data of individual tuples or group transform a tuple: student.Map((matrikel, name) ⇒ (matrikel + 4, name)) count members for each group: groupedStudents.Map((year) ⇒ count()) Filter tuples by comparing a key to a value Operations that require the complete input data Group tuples by a key Sort data according to a key Join multiple relations together Split tuples of a relation into multiple relations (based on a condition) Julian M. Kunkel Lecture BigData Analytics, 2016 3 / 32 Overview Pig Latin Accessing Data Architecture Summary Data Flow Programming Paradigm [68] Focus: data movement and transformation Compare to imperative programming: sequence of commands Models program as directed graph of data flowing between operations Input/output is illustrated as a node Node is an operation, edges are dependencies Operation is run once all inputs become valid An operation might work on a single data element or on the complete data Parallelism is inherently supported by data flow languages States (in the program) Dataflow works best with stateless programs Stateful dataflow graphs support mutable state Data related states, e.g., reductions, may be encoded as data Programming Func
Read full document
- Document name
- Giới thiệu về Data Flow Languages và Apache Pig - Julian M. Kunkel
- School / Course
- University of Hamburg · Big Data
- Content
- Tài liệu này giới thiệu về các khái niệm cơ bản của ngôn ngữ luồng dữ liệu và Apache Pig, một nền tảng xử lý dữ liệu lớn. Nó mô tả cách dữ liệu được biểu diễn, các toán tử xử lý, mô hình lập trình, và cách trực quan hóa bằng sơ đồ luồng, cũng như kiến trúc và ngôn ngữ Pig Latin của Apache Pig.
- Table of contents
- Overview
- Pig Latin
- Accessing Data
- Architecture
- Summary
- Pages
- 33 pages
- Uploaded by
- Uni24h
Comments (0)
No comments yet. Be the first!
Neumann (mối quan hệ giữa Exascale Computing và Big Data) - Philipp Neumann
Tính toán trong bộ nhớ với Spark - Julian M. Kunkel
Intro to Mapreduce (02) (Giới thiệu về MapReduce và Hadoop) (Tiếng Anh)
GPUs (04) (Xử lý song song và bộ xử lý đồ họa)
Neo4j (08) (Xử lý đồ thị với Neo4j) - BigData Analytics - Julian M. Kunkel
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
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Comments (0)
No comments yet. Be the first!