Giter Club home page Giter Club logo

building-etl-pipelines-with-apache-spark's Introduction

Building ETL Pipelines with Apache Spark

Infrastructure

This lecture series requires a full installation of Pyspark. The easiest way to do this is via Docker.

Launch a Jupyter Notebook server using Docker and the jupyter/pyspark-notebook image on your local machine.

Copy and paste the below into your terminal.

docker pull jupyter/pyspark-notebook
docker run -d -v `pwd`:/home/jovyan -p 80:8888 jupyter/pyspark-notebook

This will launch a Jupyter Notebook server available at http://localhost/. By default this server has authentication and requires a token.

Accessing Jupyter

  1. Retrieve the container id of the Jupyter Notebook Server

    docker ps
    

    This command displays currently running Docker containers. Look for the container using the image jupyter/pyspark-notebook.

    Copy the CONTAINER ID.

  2. Retrieve the token. Run the following command, replace CONTAINERID with the value copied in the previous step.

    docker exec CONTAINERID jupyter notebook list
    

    You should see an output like the following:

    Currently running servers:
    http://0.0.0.0:8888/?token=b362ef9ea151f45b29cdcf9e9c39e9c914ef2d93478bce17 :: /home/jovyan
    

    Copy the value after token=. This is the authentication token.

  3. Access the server at http://localhost/ and use the authentication token to sign in.

March 25, 2020

Building ETL Pipelines with Apache Spark (slides)

Proof-of-concept (notebook) notebook
Demonstrates that Jupyter Server is running with full Python Scipy Stack installed.

Lesson 1 (Google Doc)

Lesson 1 (notebook)

building-etl-pipelines-with-apache-spark's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.