Working with Scala in Azure Databricks

Lab Steps

lock
Logging into the Microsoft Azure Portal
lock
Creating an Azure Databricks Workspace
lock
Creating a Spark Cluster and Scala Notebook in Azure Databricks
lock
Mounting ADLS onto Azure Databricks
lock
Working with Folders in ADLS using Scala on Databricks
lock
Importing Multiple Files into Azure Data Lake Storage
lock
Using Scala on Azure Databricks to Create Data Frames and Write to ADLS

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h 15m
Students132
Ratings
4.2/5
starstarstarstarstar-border

Description

Azure Databricks is an analytics platform powered by Apache Spark. Spark is a unified analytics engine capable of working with virtually every major database, data caching service, and data warehouse provider.

However, Spark clusters in Databricks also support Scala, since Apache Spark is built on Scala. Scala is a high-level programming language that combines aspects of both functional and object-oriented programming to form a concise language that is especially useful in an environment like Databricks. Using Databricks's built-in support for data analytics with Scala's ability to efficiently interact with resources in a customizable way gives companies a high level of control over their data and analytics.

In this lab, you'll use Scala in an Azure Databricks cluster to interact with Azure Data Lake Storage (ADLS), including ingesting, transforming, and writing data to the store.

Learning Objectives

Upon completion of this lab you will be able to:

  • Load data into Azure Data Lake Storage
  • Create and manage a Databricks workspace
  • Create and manage a Databricks cluster
  • Use Scala to manage folders and write data to ADLS
  • Use Scala to create DataFrames from data in ADLS

Intended Audience

This lab is intended for:

  • Azure administrators
  • Cloud engineers and solutions architects
  • Data engineers
  • Anyone with a need to visualize and analyze data in Azure

Prerequisites

You should be familiar with:

Updates

July 2nd, 2020 - Updated "Mounting ADLS onto Azure Databricks" lab step to reflect the actual output of the ls command

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students30633
Labs42
Learning paths1

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified DevOps Engineer - Professional, and an AWS Certified Solution Architect - Associate. He enjoys reading and learning new technologies.