DSAN 6000: Big Data and Cloud Computing
Fall 2026
Monday, October 26, 2026
DataFrame…Yet another type of DataFrame!
PySpark
RDD (Resilient Distributed Dataset): data_sdf.rdd.getNumPartitions()(For development, can just pip install pyspark!)
sudo apt update first if on a new instance!)Click through the “Download Spark” link…
…To get the actual download URL 😵💫
Use wget <url> in terminal to download .tar.gz:
Extract using:
Spark Cluster Checklist:
AWS Console → EC2 Console → Security group (launch-wizard-1):
Check status via Spark UI: Master on localhost:8080 (VSCode port forwarding)
(New worker nodes should appear after each start-worker.sh)
Check status of SparkSession via Spark Session UI: localhost:4040
localhost:8080 (worker UI=localhost:8081)SparkSession UI: localhost:4040
MLlib: pyspark as normal:
Spark NLP: Custom SparkSession with sparknlp.start():

DSAN 6000 Week 8: Spark MLLib, SparkNLP