spark-redis (homepage)

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

@RedisLabs / (0)

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 (No tags yet, login to add one. )


How to

Include this package in your Spark Applications using:

spark-shell, pyspark, or spark-submit

> $SPARK_HOME/bin/spark-shell --packages RedisLabs:spark-redis:0.1.1

sbt

If you use the sbt-spark-package plugin, in your sbt build file, add:

spDependencies += "RedisLabs/spark-redis:0.1.1"

Otherwise,

resolvers += "Spark Packages Repo" at "http://dl.bintray.com/spark-packages/maven"

libraryDependencies += "RedisLabs" % "spark-redis" % "0.1.1"

Maven

In your pom.xml, add:
<dependencies>
  <!-- list of dependencies -->
  <dependency>
    <groupId>RedisLabs</groupId>
    <artifactId>spark-redis</artifactId>
    <version>0.1.1</version>
  </dependency>
</dependencies>
<repositories>
  <!-- list of other repositories -->
  <repository>
    <id>SparkPackagesRepo</id>
    <url>http://dl.bintray.com/spark-packages/maven</url>
  </repository>
</repositories>

Releases

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

Spark Scala/Java API compatibility: 1.0.0 - 5% , 1.1.0 - 9% , 1.2.0 - 8% , 1.3.0 - 88% , 1.4.0 - 100% , 1.5.0 - 96%

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

Spark Scala/Java API compatibility: 1.0.0 - 100% , 1.1.0 - 100% , 1.2.0 - 100% , 1.3.0 - 100% , 1.4.0 - 100% , 1.5.0 - 100%