<p>I am configuring Zeppelin 0.8 to run on Kubernetes with my spark cluster in the same namespace.</p>
<p>The issue is, when I mention the spark master in the spark interpreter settings, my code stops working with error,</p>
<pre><code>java.lang.RuntimeException: SPARK_HOME is not specified in interpreter-setting for non-local mode, if you specify it in zeppelin-env.sh, please move that into  interpreter setting
</code></pre>
<p>Does anyone actively use Zeppelin on Kubernetes to run Spark Apps?</p>
<p>Any Leads would be appreciated!</p>

unitom
<p>This was pretty straight forward. All that was required to be done was adding SPARK_HOME in the spark's interpreter settings in Zeppelin.</p>
<p>SPARK_HOME needs to be directed to the the downloaded spark release. In my case, I am using spark 2.4 downloaded from here : <a href="https://archive.apache.org/dist/spark/spark-2.4.0/" rel="nofollow noreferrer">https://archive.apache.org/dist/spark/spark-2.4.0/</a></p>
<p>I used the release with Hadoop 2.7 and mounted the files on my running container.</p>
<p>To connect to spark master running in Kubernetes, Zeppelin requires binaries in the release.</p>
<p>Also do mention master url in interpreter settings as spark://spark-master:7077</p>
<p>This made the setup working smoothly, though I am currently navigating some DNS issues which are hampering internal connections.</p>
