title: How to connect Spark-Notebook to Hive metastore?
body: <p>This is a cluster with Hadoop 2.5.0, Spark 1.2.0, Scala 2.10, provided by CDH 5.3.2. I used a <a href="http://spark-notebook.io" rel="nofollow noreferrer">compiled spark-notebook distro</a></p>
  
  <p>It seems Spark-Notebook cannot find the Hive metastore by default.</p>
  
  <p>How to specify the location of <code>hive-site.xml</code> for spark-notebook so that it can load the Hive metastore?</p>
  
  <p>Here is what I tried:</p>
  
  <ol>
  <li><p>link all files from /etc/hive/conf, with hive-site.xml included, to the current directory</p></li>
  <li><p>specify SPARK_CONF_DIR variable in bash</p></li>
  </ol>