Closed YINGPENGZH closed 3 years ago
Hi @YINGPENGZH , I cannot reproduce, works for me. Could you please share the full listing of stack trace and the full listing of your code?
Hi @YINGPENGZH , I cannot reproduce, works for me. Could you please share the full listing of stack trace and the full listing of your code?
I find the problem, our clusters lead to spark-redis cannot connect success, thank you so much.
I fail to inert three words in redis by using spark, and always get java.lang.ArrayIndexOutOfBoundsException: 0. My spark version is 2.4 and spark-redis_2.11.
val wc = sc.parallelize(List( ("hello", "1") )) sc.toRedisHASH(wc, "map1") sc.toRedisHASH(wc, "map2") sc.toRedisHASH(wc, "map3")