Exercise 3 - Zeppelin - Intro to Scala

Return to Workshop

Exercise 3 - Zeppelin - Intro to Scala

Zeppelin Dashboard

Zeppelin - Select the next Notebook (highlighted in yellow overlay)
Zeppelin - Select the next Notebook (highlighted in yellow overlay)

Once you've finished the Apache Spark in 5 Minutes notebook, navigate back to the Zeppelin Dashboard.

Next what we'll do is look at a set of data that has information regarding air flight status.

Select the next lab notebook from Labs > Spark 2.x > Data Worker > Scala > 101 - Intro to SparkSQL

Restart Interpreters

Zeppelin - Restart the Spark2 Interpreter and then click Save (highlighted in yellow overlay)
Zeppelin - Restart the Spark2 Interpreter and then click Save (highlighted in yellow overlay)

Once you load an interpreter into memory it can persist which helps with subsequent loading times.

It's a good practice to restart some of the interpreters between execution of notebooks.

It not already expanded, expand the Interpreter Binding section at the top, restart the spark2 interpreter, and click Save.

Modify a Paragraph

Expand the code for the 'Create a DataFrame from CSV file' paragraph and remove the subdirectory. (text highlighted)
Expand the code for the 'Create a DataFrame from CSV file' paragraph and remove the subdirectory. (text highlighted)

Zeppelin Notebooks are fluid and interactive. They can be modified on the fly and checked into version control.

Before we can continue, we'll need to modify one of these paragraphs.

Expand the Code Block for the Create a DataFrame for CSV file paragraph and remove the /airflightsdelays subdirectory.

Adjusted Paragraph

After removing the subdirectory your paragraph should look like this.
After removing the subdirectory your paragraph should look like this.

Once you've modified the Create a DataFrame from CSV file code block, it should look like this.

Press the Play button on this paragraph, and continue to complete the rest of this notebook and onto the next exercise.


Workshop Details

Domain Fierce Software Logo
Workshop
Student ID

Return to Workshop