RedisLabs / spark-redis

A connector for Spark that allows reading and writing to/from Redis cluster
BSD 3-Clause "New" or "Revised" License
936 stars 367 forks source link

WRONGPASS invalid username-password pair or user is disabled. #381

Open leovegas opened 9 months ago

leovegas commented 9 months ago

Using in Pyspark latest

df_redis = spark.read\
        .format("org.apache.spark.sql.redis") \
        .option("host", "redis-xxx.amazonaws.com") \
        .option("port", 6379) \
        .option("ssl", False) \
        .option("user", '') \
        .option("auth", '') \
        .option("max.pipeline.size", 10000) \
        .option("table", "user")\
        .option("key.column", "rt_id")\
        .load()

Get

redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool       
...                                                                                                                                                                           
Caused by: redis.clients.jedis.exceptions.JedisAccessControlException: WRONGPASS invalid username-password pair or user is disabled.