Zeppelin Spark Interpreter (sc.textFile) throwing NoSuchMethodError
<p><strong>Vesions</strong></p>

<p>Zeppelin version: 0.7-SNAPSHOT version.</p>

<p>Spark 1.6</p>

<p>CDH 5.7.1</p>

<p>Scala 2.10</p>

<p><code>sc.textFile</code> is causing</p>

<p><code>java.lang.NoSuchMethodError: org.apache.hadoop.fs.BlockLocation.&lt;init&gt;([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;JJZ)V</code></p>

<pre><code>val dataset=sc.textFile("/tmp/expenses.csv")
dataset.count()
dataset.first()
</code></pre>

<p>full strack trace</p>

<pre><code>dataset: org.apache.spark.rdd.RDD[String] = /tmp/expenses.csv MapPartitionsRDD[1] at textFile at &lt;console&gt;:29
java.lang.NoSuchMethodError: org.apache.hadoop.fs.BlockLocation.&lt;init&gt;([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;JJZ)V
at org.apache.hadoop.hdfs.DFSUtil.locatedBlocks2Locations(DFSUtil.java:522)
at org.apache.hadoop.hdfs.DFSUtil.locatedBlocks2Locations(DFSUtil.java:486)
at org.apache.hadoop.hdfs.DFSClient.getBlockLocations(DFSClient.java:1305)
at org.apache.hadoop.hdfs.DistributedFileSystem$1.doCall(DistributedFileSystem.java:221)
at org.apache.hadoop.hdfs.DistributedFileSystem$1.doCall(DistributedFileSystem.java:217)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileBlockLocations(DistributedFileSystem.java:217)
at org.apache.hadoop.hdfs.DistributedFileSystem.getFileBlockLocations(DistributedFileSystem.java:209)
at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:343)
at org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:199)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
at scala.Option.getOrElse(Option.scala:120
</code></pre>