title: How to connect from pyspark to hbase
body: <p>I have two clusters in azure, one for spark 2.0 and another for hbase. I can fill and use the hbase perfectly, now I want to connect the spark to the hbase and do some calculations. I would like to use python as I don't know scala.</p>
  
  <p>My first questions is: What's the best way to do it? spark -> hive -> hbase or spark directly to hbase?</p>
  
  <p>Could I have a good examples for inserting and querying?</p>
  
  <p>Thanks?</p>