Closed DeepikaPrabha closed 1 year ago
I have similar problem with Amazon Redis cache, turns out that cloud providers require more secured connection.
To connect to Redis hosted on those providers you must enable SSH protocol during configuration (which is disabled by default).
I add
.config("spark.redis.ssl", true)
during SparkSession config and it works
I am trying to insert data to redis (Azure Cache for Redis) through spark. There are around 700 million rows and I am using spark-redis connector to insert data. It fails after sometime throwing this error. I am able to insert some rows but after sometime, some of the tasks start failing with the below error. I am running through jupyter notebook.
This is the way I am trying to write data.
Can someone help me understand what is the root cause of the issue?