You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+60-75Lines changed: 60 additions & 75 deletions
Original file line number
Diff line number
Diff line change
@@ -23,11 +23,11 @@ This repository contains the files and lectures for the _[Insert Title or Organi
23
23
* Need to demo how to create a twitter developer account to the twitter oauth token
24
24
* Need to set the logging level to ERROR to reduce the output noise ([Video Example](https://youtu.be/vLrcjVxdTng0))
25
25
* Code samples [one](https://drive.google.com/open?id=0Bym8DZ5hyGifdmRKMVR1QVlKNW8) and [two](https://drive.google.com/open?id=0Bym8DZ5hyGifX2t3UXNHc0RpWDA), don’t copy and paste these
26
-
* We should point out winutils.exe needs to be installed for Windows users in order to run Spark applications.
26
+
* We should point out [winutils.exe needs to be installed for Windows users in order to run Spark applications](https://docs.google.com/document/d/1bAsB0ZBjXGQ4md0Z3LIeaHosPQ1eFUmiIdU_FdanPqE/edit).
* DEMO: Pick up 2 of the transformations to demo in the program
46
-
* EXERCISE: prepare an exercise for student to use one of the transformations
43
+
* **DEMO:** Pick up 2 of the transformations to demo in the program
44
+
* **EXERCISE:** prepare an exercise for student to use one of the transformations
47
45
4. Transform Operation
48
46
* What is transform operation and the benefit of it ([Reference](https://spark.apache.org/docs/latest/streaming-programming-guide.html#transform-operation))
49
-
* DEMO: do a demo with Transform Operation
50
-
* EXERCISE: prepare an exercise for student to use transformation operation
47
+
* **DEMO:** do a demo with Transform Operation
48
+
* **EXERCISE:** prepare an exercise for student to use transformation operation
51
49
5. Window Operations
52
50
* What is Window Operations(better with some graphs)
53
51
* Explain parameters (window length and sliding interval)
54
-
* Some of the popular Window operations
55
-
6. Window
56
-
* countByWindow
57
-
* reduceByKeyAndWindow
58
-
* countByValueAndWindow
59
-
* Window
60
-
* Explain Window transformation in depth and what is the usage of Window function
61
-
* DEMO: Do a demo with Window transformation
62
-
* EXERCISE: Give an exercise about Window tansformation
63
-
7. countByWindow
64
-
* Explain countByWindow transformation in depth and what is the usage of countByWindow function
65
-
* DEMO: Do a demo with countByWindow transformation
66
-
* EXERCISE: Give an exercise about countByWindow tansformation
67
-
8. reduceByKeyAndWindow
68
-
* Explain reduceByKeyAndWindow transformation in depth and what is the usage of reduceByKeyAndWindow function
69
-
* DEMO: Do a demo with reduceByKeyAndWindow transformation
70
-
* EXERCISE: Give an exercise about reduceByKeyAndWindow tansformation
71
-
9. countByValueAndWindow
72
-
* Explain countByValueAndWindow transformation in depth and what is the usage of countByValueAndWindow function
73
-
* DEMO: Do a demo with countByValueAndWindow transformation
74
-
* EXERCISE: Give an exercise about countByValueAndWindow tansformation
52
+
* Some of the popular Window operations (e.g., `Window`, `countByWindow`, `reduceByKeyAndWindow`, `countByValueAndWindow`)
53
+
6.`Window`
54
+
* Explain `Window` transformation in depth and what is the usage of `Window` function
55
+
* **DEMO:** Do a demo with `Window` transformation
56
+
* **EXERCISE:** Give an exercise about `Window` tansformation
57
+
7.`countByWindow`
58
+
* Explain `countByWindow` transformation in depth and what is the usage of `countByWindow` function
59
+
* **DEMO:** Do a demo with `countByWindow` transformation
60
+
* **EXERCISE:** Give an exercise about `countByWindow` tansformation
61
+
8.`reduceByKeyAndWindow`
62
+
* Explain `reduceByKeyAndWindow` transformation in depth and what is the usage of `reduceByKeyAndWindow` function
63
+
* **DEMO:** Do a demo with `reduceByKeyAndWindow` transformation
64
+
* **EXERCISE:** Give an exercise about `reduceByKeyAndWindow` tansformation
65
+
9.`countByValueAndWindow`
66
+
* Explain `countByValueAndWindow` transformation in depth and what is the usage of `countByValueAndWindow` function
67
+
* **DEMO:** Do a demo with `countByValueAndWindow` transformation
68
+
* **EXERCISE:** Give an exercise about `countByValueAndWindow` tansformation
*[Dataframe and SQL Operations](https://spark.apache.org/docs/latest/streaming-programming-guide.html#dataframe-and-sql-operations)
81
+
***DEMO:** Do a demo with SQL OPERATIONS
82
+
***EXERCISE:** Give an exercise about SQL OPERATIONS
95
83
96
84
### 3. Section: Advanced
97
85
1. Join Operations
98
86
* Different types of Join
99
87
* Stream-stream joins
100
88
* Stream-dataset joins
101
-
* DEMO: Do a demo with Stream-stream joins
102
-
* DEMO: Do a demo with Stream-dataset joins
103
-
* EXERCISE: Give an exercise with Stream-stream joins or Stream-dataset joins
89
+
* **DEMO:** Do a demo with Stream-stream joins
90
+
* **DEMO:** Do a demo with Stream-dataset joins
91
+
* **EXERCISE:** Give an exercise with Stream-stream joins or Stream-dataset joins
104
92
2. Stateful transformation
105
93
* Transformations
106
-
* UpdateStateByKey
107
-
* mapWithState
108
-
* DEMO Do a demo with UpdateStateByKey or mapWithState
109
-
* Needs come up with a proper scenario to use mapWithState or UpdateStateByKey, such as some web session data.
110
-
* EXERCISE: Prepare an exercise with UpdateStateByKey or mapWithState
94
+
* `UpdateStateByKey`
95
+
* `mapWithState`
96
+
* **DEMO** Do a demo with `UpdateStateByKey` or `mapWithState`
97
+
* Needs come up with a proper scenario to use `mapWithState` or `UpdateStateByKey`, such as some [web session data](https://drive.google.com/file/d/0Bym8DZ5hyGifWTJkQW5laUdwRU0/view).
98
+
* **EXERCISE:** Prepare an exercise with UpdateStateByKey or mapWithState
111
99
3. Check point
112
100
* What is checkpoint and why use check point
113
-
* Different types of checkpoint
114
-
* Metadata checkpointing
115
-
* Data checkpointing
101
+
* Different types of checkpoint (Metadata checkpointing & Data checkpointing)
116
102
* When to enable Checkpointing
117
103
* How to configure Checkpointing
118
-
* DEMO: Do a demo with Checkpointing
119
-
* EXERCISE: Give Exercise with Checkpointing
104
+
* **DEMO:** Do a demo with Checkpointing
105
+
* **EXERCISE:** Give Exercise with Checkpointing
120
106
4. Accumulators
121
107
* What is Accumulators and usage of Accumulators
122
-
* DEMO: Do a demo with Accumulators
123
-
* EXERCISE: Give an Exercise with Accumulators
108
+
* **DEMO:** Do a demo with Accumulators
109
+
* **EXERCISE:** Give an Exercise with Accumulators
* [The Benefit of structured streaming](https://drive.google.com/file/d/0Bym8DZ5hyGifM2VOYlJVQ3NwaTg/view)
150
136
* [Basic Concepts about Spark streaming](https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#basic-concepts)
151
-
* [DEMO: A quick demo about an structured streaming example](https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#quick-example)
152
-
137
+
* **DEMO:** [A quick demo about an structured streaming example](https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#quick-example)
153
138
2. Operations on streaming DataFrames/Datasets
154
139
* [Structured Streaming Programming Guide: Operations on Streaming Dataframe Datasets](https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#operations-on-streaming-dataframesdatasets)
155
-
* DEMO: DO a demo:
156
-
* EXERCISE: Prepare an excise
140
+
* **DEMO:** DO a demo:
141
+
* **EXERCISE:** Prepare an excise
157
142
3. Window Operations
158
143
* [Structured Streaming Programming Guide: Window Operations on Event Time](https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#window-operations-on-event-time)
159
-
* DEMO: Do a demo ([exmaple](https://drive.google.com/open?id=0Bym8DZ5hyGifU2YzUmx3aldVdkU))
160
-
* EXERCISE: Prepare an excise
144
+
* **DEMO:** Do a demo ([exmaple](https://drive.google.com/open?id=0Bym8DZ5hyGifU2YzUmx3aldVdkU))
* [Handling Late Data and Watermarking Example](https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#handling-late-data-and-watermarking)
163
148
164
149
### Section 6: Finish up
165
150
1. Add an introductory lecture about that is covered in the course
166
-
* this video should be placed as the first lecture of this course, but we do it after we are done creating this course
151
+
* This video should be placed as the first lecture of this course, but we do it after we are done creating this course
167
152
2. Add a promotion video
168
153
* This will be about what users will learn from this lecture and how they will benefit
0 commit comments