Exercise 2 - Zeppelin - Getting Started

Return to Workshop

Getting Started With Apache Zeppelin

Zeppelin Dashboard - Select a Notebook

Select the 'Getting Started' > 'Apache Spark in 5 Minutes' notebook (highlighted in yellow overlay).
Select the 'Getting Started' > 'Apache Spark in 5 Minutes' notebook (highlighted in yellow overlay).

Now that we’re logged in, we're presented with a selection of Notebooks.

Expand the Getting Started folder and select the Apache Spark in 5 Minutes notebook.

Zeppelin Notebook - Key Components

Highlighted parts of a Zeppelin notebook
Highlighted parts of a Zeppelin notebook
Now we’re in the Notebook view, and there are a few things to make note of…
  1. Title - The title is editable and so is the whole hierarchy right from here. Weird.
  2. Controls - Here you’ll find some of the controls for the whole notebook, such as playing the whole thing, hiding code/editor view (like shown in the screenshot), duplicating and more.
  3. Helpers - Things such as keyboard shortcuts, Settings, and other functions.
  4. Interpreter Bindings - If this is the first time in Zeppelin and running a Notebook, be sure to set your interpreter binding order so that the sections below run.
  5. Paragraphs - In a Notebook you’ll have "paragraphs" that have titles, a code editor view, output and settings. You can see most of the expanded parts of the Short Intro paragraph that uses the Markdown (md) interpreter.

Zeppelin Notebook - Save Interpreter Bindings

Saving and ordering of Interpreter Bindings
Saving and ordering of Interpreter Bindings

Save Interpreter Bindings

Before we can execute our Notebook we’ll need to set our Interpreter Binding settings so click Save real quick.

Zeppelin Notebook - Execute Notebook

Work through the notebook one paragraph at a time.
Work through the notebook one paragraph at a time.

Expand code, output, execute

Next, for the purposes of this workshop, at the top in the Controls, click the Show/hide the output button until all the Output is show, and click Show/hide the code until all the paragraphs have their code displayed.

When you run through each paragraph in the notebook, the code view will be hidden, and the output will be shown most of the time. If the task has Finished with no errors and the Output portion didn’t show, simply toggle them with the paragraph controls to the top right of each paragraph.


Take a few minutes to work through this notebook and move onto the next exercise.


Workshop Details

Domain Fierce Software Logo
Workshop
Student ID

Return to Workshop