title: SparkOnHBase: NullPointerException during build tests "distributedScan"
body: <p>I'm quite new to Hadoop, Spark and HBase. I was trying to build the <a href="https://github.com/tmalaska/SparkOnHBase" rel="nofollow">SparkOnHBase</a> library by <code>mvn clean package</code> (Apache Maven 3.3.3)</p>
  
  <p>But I encountered the following failed test during the build:</p>
  
  <pre><code>- distributedScan to test HBase client *** FAILED ***
  java.lang.NullPointerException:
  at org.apache.hadoop.net.DNS.reverseDns(DNS.java:92)
  at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.reverseDNS(TableInputFormatBase.java:228)
  at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.getSplits(TableInputFormatBase.java:191)
  at org.apache.spark.rdd.NewHadoopRDD.getPartitions(NewHadoopRDD.scala:98)
  at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:205)
  at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:203)
  at scala.Option.getOrElse(Option.scala:120)
  at org.apache.spark.rdd.RDD.partitions(RDD.scala:203)
  at org.apache.spark.rdd.MappedRDD.getPartitions(MappedRDD.scala:28)
  at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:205)
  ...
  </code></pre>
  
  <p>I'm using Hadoop 2.7.1.2.3.0.0-2557 (but I can't sudo, need to ask for help). </p>
  
  <p>Any idea how to fix the error?</p>