Spark HBase write example Reference - https://github.com/hortonworks-spark/shc/blob/master/examples/src/main/scala/org/apache/spark/sql/execution/datasources/hbase/DataCoder.scala Build sbt assembly It will build a jar-archive with all the dependencies located in "target/scala-2.11/spark-hbase-assembly-0.1.jar"