spark-hbase-connector
spark-hbase-connector copied to clipboard
Not able to save the RDD generated from Dataframe
I have created a dataframe from spark SQL. val df = sqlContext.sql(..) df.rdd.toHbaseTable // Does not works.
Let me know how to save a dataframe using the connector.
I think the problem is, when you use df.rdd
it converts to RDD[Row]
. But the API requires the rdd type is of tupe. For example: RDD[(String, Int)]