-
Notifications
You must be signed in to change notification settings - Fork 147
/
Copy path00_agenda-2-days-Big-Data-Solutions-using-Apache-Spark.html
235 lines (211 loc) · 11.9 KB
/
00_agenda-2-days-Big-Data-Solutions-using-Apache-Spark.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Big Data Solutions using Apache Spark (2 days)</title>
<meta name="description" content="Big Data Solutions using Apache Spark (2 days)">
<meta name="author" content="Jacek Laskowski">
<link rel="stylesheet" href="reveal4/dist/reset.css">
<link rel="stylesheet" href="reveal4/dist/reveal.css">
<link rel="stylesheet" href="reveal4/dist/theme/beige.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="reveal4/plugin/highlight/monokai.css">
<!-- Jacek: custom formatting -->
<link rel="stylesheet" href="revealjs-css/jacek.css">
</head>
<body>
<div class="reveal">
<div class="footer">
<footer style="font-size: small;">
© <a href="https://medium.com/@jaceklaskowski">Jacek Laskowski</a> 2022 / <a
href="https://twitter.com/jaceklaskowski">@JacekLaskowski</a>
</footer>
</div>
<div class="slides">
<section class="intro" data-transition="zoom" id="home">
<p>
<img width="17%" style="background:none; border:none; box-shadow:none;" data-src="images/spark-logo.png">
<img width="10%" src="images/jacek_laskowski_20201229_200x200.png" style="border: 0">
</p>
<h1 style="font-size: 3em;">Big Data Solutions<br>using Apache Spark <small>2 Days</small></h1>
<br>
<br>
<h4 style="font-size: smaller;">
<a href="https://twitter.com/jaceklaskowski">@jaceklaskowski</a> / <a
href="https://stackoverflow.com/users/1305344/jacek-laskowski">StackOverflow</a> / <a
href="https://github.com/jaceklaskowski">GitHub</a> / <a
href="https://www.linkedin.com/in/jaceklaskowski/">LinkedIn</a>
<br>
The "Internals" Books: <a href="https://books.japila.pl">books.japila.pl</a>
</h4>
</section>
<section>
<section id="speaker" style="font-size: 85%" data-markdown>
<textarea data-template>
<p><img width="12%" src="images/jacek_laskowski_20201229_200x200.png" style="border: 0"></p>
* **Jacek Laskowski** is an IT Freelancer
* Specializing in [Apache Spark](https://spark.apache.org), [Delta Lake](https://delta.io/), [Apache Kafka](https://kafka.apache.org), [Kafka Streams](https://kafka.apache.org)
* Development | Consulting | Training | Speaking
* Best known by "The Internals Of" online books
* Among contributors to [Apache Spark](https://github.com/apache/spark/graphs/contributors)
* Among [Confluent Community Catalyst](https://www.confluent.io/nominate/) (Class of 2019 - 2020)
* Contact me at **[email protected]**
* Follow [@JacekLaskowski](https://twitter.com/jaceklaskowski) on twitter <br>for more #ApacheSpark, #DeltaLake, #ApacheKafka, #KafkaStreams
</textarea>
</section>
<section id="gitbooks">
<p><img width="12%" src="images/jacek_laskowski_20201229_200x200.png" style="border: 0"></p>
<div style="text-align: left">
<p>"The Internals Of" Online Books:</p>
<p>
<ol>
<li><a href="https://books.japila.pl/apache-spark-internals/">The Internals of Apache Spark</a></li>
<li><a href="https://books.japila.pl/spark-sql-internals/">The Internals of Spark SQL</a></li>
<li><a href="https://books.japila.pl/structured-streaming-internals/">The Internals of Structured Streaming</a></li>
<li><a href="https://books.japila.pl/">more at books.japila.pl</a></li>
</ol>
</p>
</div>
</section>
<section id="stackoverflow">
<div style="text-align: center">
<p>
Jacek is active on <a href="http://stackoverflow.com/users/1305344/jacek-laskowski">StackOverflow</a>
</p>
<p>
<img width="70%" src="images/jaceklaskowski-stackoverflow-stats.png" style="border: 0">
</p>
</div>
</section>
</section>
<section id="goal">
<h2>Goal</h2>
<p>
Developing hands-on experience in<br>
Big Data solutions using<br>
<b><span style="font-size: 140%">Apache Spark</span></b><br>
(<b><span style="font-size: 130%">Spark SQL</span></b>
and
<b><span style="font-size: 130%">Structured Streaming</span></b>)<br>
for <b><span style="font-size: 130%">Scala</span></b> developers
</p>
</section>
<section>
<section id="agenda" data-markdown style="font-size: 75%;">
<textarea data-template>
## Agenda (1 of 2)
1. [Spark SQL](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql.html)
* [Exercise: Standalone Spark Application to Display Spark SQL
Version](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-sql-exercise-Standalone-Spark-Application-to-Display-Spark-SQL-Version.html)
* [Exercise: Using CSV Data
Source](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-sql-exercise-Using-CSV-Data-Source.html)
1. [Columns and Dataset Operators](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-columns-and-dataset-operators.html)
* [Exercise: Using Dataset.flatMap
Operator](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-sql-exercise-Using-Dataset-flatMap-Operator.html)
1. [Standard and User-Defined Functions](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-standard-functions-udfs.html)
* [Exercise: Difference in Days Between Dates As Strings](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-sql-exercise-Difference-in-Days-Between-Dates-As-Strings.html)
1. [Basic Aggregation](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-basic-aggregation.html)
* [Exercise: Finding maximum values per group
(groupBy)](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-sql-exercise-Finding-maximum-values-per-group-groupBy.html)
* [Exercise: Collect values per
group](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-sql-exercise-Collect-values-per-group.html)
</textarea>
</section>
<section id="agenda-2" data-markdown style="font-size: 75%;">
<textarea data-template>
## Agenda (2 of 2)
1. [Joins](https://jaceklaskowski.github.io/spark-workshop/slides/spark-sql-joins.html)
* [Exercise: Finding Most Populated Cities Per
Country](https://jaceklaskowski.github.io/spark-workshop/exercises/sql/Finding-Most-Populated-Cities-Per-Country.html)
1. web UI
1. [Spark Structured Streaming](spark-structured-streaming.html)
* [Exercise: Your First Standalone Structured Streaming Application](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-structured-streaming-exercise-Your-First-Standalone-Structured-Streaming-Application.html)
* [Exercise: Streaming CSV Datasets](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-structured-streaming-exercise-Streaming-CSV-Datasets.html)
* [Exercise: Stateless Streaming Aggregation](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-structured-streaming-exercise-Streaming-Aggregation-with-groupBy.html)
* [Exercise: Using foreach Operator (and ForeachWriter)](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-structured-streaming-exercise-Using-foreach-Operator-and-ForeachWriter.html)
1. (?) Spark Structured Streaming / Kafka Data Source
* [Exercise: Using Kafka Data Source](https://jaceklaskowski.github.io/spark-workshop/exercises/spark-structured-streaming-exercise-Using-Kafka-Data-Source.html)
</textarea>
</section>
</section>
<section>
<section id="prerequisities">
<h1>Prerequisities</h1>
<h4>Be prepared to get the most out of the workshop</h4>
</section>
<section id="prerequisities-to-be-installed">
<h2>Prerequisities / To Be Installed</h2>
<ul>
<li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java Platform, Standard Edition
(Java SE) 11</a></li>
<li><a href="https://www.jetbrains.com/idea/download/">IntelliJ IDEA</a> Community Edition with <b>Scala
plugin</b></li>
<li><a href="http://www.scala-sbt.org/download.html">sbt</a></li>
<li><a href="https://git-scm.com/">git</a></li>
<li>Linux or macOS preferred
<ul>
<li>Consult <a
href="https://books.japila.pl/apache-spark-internals/spark-tips-and-tricks-running-spark-windows">Running
Spark Applications on Windows</a> when on MS Windows</li>
</ul>
</li>
</ul>
</section>
<section id="prerequisities-to-be-downloaded">
<h2>Prerequisities / To Be Downloaded</h2>
<ul>
<li>The latest version of <a href="http://spark.apache.org/downloads.html">Apache Spark</a></li>
</ul>
</section>
</section>
<section data-markdown>
<textarea data-template>
## In-Class Preparations
1. Write down your name on a paper and put it in front of you
1. Classes are between 9am - 4:30pm
1. When is the lunch? 12:30pm?
</textarea>
</section>
<section style="text-align: left" data-markdown id="questions">
<textarea data-template>
# Questions?
* Follow [@jaceklaskowski](https://twitter.com/jaceklaskowski) on twitter (DMs open)
* Upvote my questions and answers on [StackOverflow](http://stackoverflow.com/users/1305344/jacek-laskowski)
* Contact me at **[email protected]**
* Connect with me at [LinkedIn](https://www.linkedin.com/in/jaceklaskowski/)
</textarea>
</section>
</div>
</div>
<script src="reveal4/dist/reveal.js"></script>
<script src="reveal4/plugin/notes/notes.js"></script>
<script src="reveal4/plugin/markdown/markdown.js"></script>
<script src="reveal4/plugin/highlight/highlight.js"></script>
<script src="reveal4/plugin/zoom/zoom.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
hash: true,
pdf: true,
slideNumber: 'c/t',
showSlideNumber: 'speaker',
// Learn about plugins: https://revealjs.com/plugins/
plugins: [RevealMarkdown, RevealHighlight, RevealNotes, RevealZoom]
});
</script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-45999426-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>