spark 1.3 read and write to hbase -
i want read , write hbase using spark 1.3 , cloudera cdh-5.4.7. using spark-hbase-connector. start spark-shell:
spark-shell --jars hbase-client-1.0.3.jar scalatest_2.10-2.2.4.jar hbase-common-1.0.3.jar spark-hbase-connector_2.10-1.0.3.jar hbase-server-1.0.3.jar
when run import:
import it.nerdammer.spark.hbase._
i got error. best way read , write hbase using spark 1.3? thank
can try below ?
run : spark-shell --jars /opt/cloudera/parcels/cdh/lib/hbase/hbase-spark.jar
for code refer below link
Comments
Post a Comment