Hadoop cluster (Google Cloud Dataproc)
What it is
For the Module 4 labs we use a shared Hadoop cluster on Google Cloud Dataproc: one master node and four worker nodes. It has everything the labs need already installed:
- HDFS (distributed storage) and YARN (resource management)
- MapReduce, including Hadoop Streaming for Python mappers and reducers
- Hive (SQL on Hadoop)
- PySpark
- JupyterLab, which you open in your browser
You don’t install anything on your own computer for these labs; a web browser is enough.
Getting access
- On Day 1, give the instructors the email address of your Google account (for example a Gmail address). We use it to give you access to the cluster.
- On lab day, sign in to Google with that same account.
- Open the link to the cluster shared in class and go to its Web interfaces tab. From there you can open JupyterLab and the Hadoop web pages (HDFS, YARN).
Your folder
Everyone has their own folder in HDFS: /user/<name>, where <name> is the part of your email address before the @, in lower case, with dots and hyphens replaced by underscores.
| Your Google account | Your HDFS folder |
|---|---|
Jean.Dupont@… |
/user/jean_dupont |
awa-diallo@… |
/user/awa_diallo |
Lab instructions
The step-by-step instructions for each lab are handed out in class.