Closed tarekabouzeid closed 9 years ago
I will provide this functionality with next release.
thanks so much
Fixed with pull request https://github.com/nerdammer/spark-hbase-connector/pull/7.
Version 0.9.4 released in Maven central.
Starting with version 1.0.0, the streaming code looks like:
stream.foreachRDD(rdd =>
rdd.toHBaseTable("table")
.inColumnFamily("cf")
.toColumns("col1")
.save()
)
This allowed to remove the direct dependency from Spark-Streaming and having a cleaner code.
i am using spark streaming context to take flume stream and process it using spark , then want to save the Dstream into Hbase , is it possible to do so using your library ? Thanks in advance