spark-redis (homepage)

A connector for Spark that allows reading and writing to/from Redis cluster

@RedisLabs / (3)

A library for reading and writing data from and to Redis with Apache Spark, for Spark SQL and DataFrames.
Spark-Redis provides access to all of Redis' data structures - String, Hash, List, Set and Sorted Set - from Spark as RDDs. The library can be used both with Redis stand-alone as well as clustered databases. When used with Redis cluster, Spark-Redis is aware of its partitioning scheme and adjusts in response to resharding and node failure events.


Tags

  • 2|redis
  • 1|storage
  • 1|data structures

How to

Include this package in your Spark Applications using:

spark-shell, pyspark, or spark-submit

> $SPARK_HOME/bin/spark-shell --packages com.redislabs:spark-redis:2.3.0

sbt

In your sbt build file, add:

libraryDependencies += "com.redislabs" % "spark-redis" % "2.3.0"

Maven

In your pom.xml, add:
<dependencies>
  <!-- list of dependencies -->
  <dependency>
    <groupId>com.redislabs</groupId>
    <artifactId>spark-redis</artifactId>
    <version>2.3.0</version>
  </dependency>
</dependencies>

Releases

Version: 2.3.0 ( 0cd0d9 | zip | jar ) / Date: 2018-11-04 / License: BSD 3-Clause / Scala version: 2.11

Version: 0.3.2 ( a1aa20 | zip | jar ) / Date: 2016-08-09 / License: BSD 3-Clause / Scala version: 2.10

Version: 0.3.0 ( 5b2345 | zip ) / Date: 2016-06-07 / License: BSD 3-Clause

Version: 0.2 ( 3c1585 | zip ) / Date: 2016-05-25 / License: BSD 3-Clause

Version: 0.1.1 ( 5dd370 | zip | jar ) / Date: 2016-01-14 / License: BSD 3-Clause / Scala version: 2.10

Spark Scala/Java API compatibility: - 8% , - 96% , - 5% , - 88% , - 9% , - 100%

Version: 0.1.0 ( b2a7fb | zip | jar ) / Date: 2015-09-12 / License: BSD 3-Clause / Scala version: 2.10

Spark Scala/Java API compatibility: - 100% , - 100% , - 100% , - 100% , - 100% , - 100%