Spark Redis(1) Old Notes

Spark Redis(1) Old Notes

I do not think I will directly use this to generate RDD. I can fetch the list and generate RDD from response list.


References:
http://stackoverflow.com/questions/28006517/redis-on-sparktask-not-serializable

https://github.com/sasha-polev/redis-spark

https://github.com/apache/spark/tree/master/core/src/main/scala/org/apache/spark/rdd
https://github.com/apache/spark/tree/master/examples/src/main/scala/org/apache/spark/examples

https://gist.github.com/bigsnarfdude/81a7422a0de1e3f99a83 writes to redis

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326121479&siteId=291194637