Integrating Cassandra with Apache Spark | Read/Write to Cassandra using PySpark

preview_player
Показать описание
In this lecture, we're going to learn all about how to work with Cassandra using Apache Spark(PySpark) where we will learn about how to read and write data file to Cassandra using Apache PySpark code and will use HDP Sandbox for this purpose since it will allow you to setup a single node Hadoop Cluster on your PC.

Below are the commands, data files and codes for this lecture:

hadoop fs -mkdir /user/maria_dev/cassandra

service cassandra start

export SPARK_MAJOR_VERSION=2

-------------------------------------------------------------------------------------------------------------

HDP Sandbox Installation links:

Also check out similar informative videos in the field of cloud computing:

Audience

This tutorial has been prepared for professionals/students aspiring to learn deep knowledge of Big Data Analytics using Apache Spark and become a Spark Developer and Data Engineer roles. In addition, it would be useful for Analytics Professionals and ETL developers as well.

Prerequisites

Before proceeding with this full course, it is good to have prior exposure to Python programming, database concepts, and any of the Linux operating system flavors.

-----------------------------------------------------------------------------------------------------------------------

Check out our full course topic wise playlist on some of the most popular technologies:

SQL Full Course Playlist-

PYTHON Full Course Playlist-

Data Warehouse Playlist-

Unix Shell Scripting Full Course Playlist-

-----------------------------------------------------------------------------------------------------------------------Don't forget to like and follow us on our social media accounts:

Facebook-

Instagram-

Twitter-

Tumblr-

-----------------------------------------------------------------------------------------------------------------------

Channel Description-

AmpCode provides you e-learning platform with a mission of making education accessible to every student. AmpCode will provide you tutorials, full courses of some of the best technologies in the world today. By subscribing to this channel, you will never miss out on high quality videos on trending topics in the areas of Big Data & Hadoop, DevOps, Machine Learning, Artificial Intelligence, Angular, Data Science, Apache Spark, Python, Selenium, Tableau, AWS , Digital Marketing and many more.

#pyspark #bigdata #datascience #dataanalytics #datascientist #spark #dataengineering #apachespark
Рекомендации по теме
Комментарии
Автор

Is there any way to override Cassandra's configuration while reading from cassandra using spark.conf.set?

AtulKumar-wszj
Автор

How to read multiple csv files from directory and insert to Cassandra tables

sivaprasad
join shbcf.ru