<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How do I add github dependency to spark? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-add-github-dependency-to-spark/m-p/230253#M64241</link>
    <description>&lt;P&gt;Here is how you do it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Got its 'name' from &lt;A href="https://spark-packages.org/package/databricks/spark-corenlp"&gt; here&lt;/A&gt; . Spark 2.1 needs scala 2.11 version, so name is: databricks:spark-corenlp:0.2.0-s_2.11.&lt;/LI&gt;&lt;LI&gt;Edit the spark2 interpreter and add the name. Save it and allow it to restart.&lt;/LI&gt;&lt;LI&gt;In Zeppelin:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;%spark.dep
z.reset() 
z.load("databricks:spark-corenlp:0.2.0-s_2.11")&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Jul 2017 23:32:47 GMT</pubDate>
    <dc:creator>ed_day</dc:creator>
    <dc:date>2017-07-05T23:32:47Z</dc:date>
    <item>
      <title>How do I add github dependency to spark?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-add-github-dependency-to-spark/m-p/230252#M64240</link>
      <description>&lt;P&gt;Can someone explain to me what I need to do to get &lt;A href="https://github.com/databricks/spark-corenlp"&gt; Stanford CoreNLP wrapper for Apache Spark&lt;/A&gt; to work in Zeppelin/Spark please?&lt;/P&gt;&lt;P&gt;I have done this:&lt;/P&gt;&lt;PRE&gt;%spark.dep
z.reset() // clean up previously added artifact and repository
// add artifact recursively
z.load("databricks:spark-corenlp:0.2.0-s_2.10")
&lt;/PRE&gt;&lt;P&gt;and this:&lt;/P&gt;&lt;PRE&gt;import com.databricks.spark.corenlp.functions._
val dfLemmas= filteredDF.withColumn("lemmas", lemmas('noURL)).select("racist", "filtered","noURL", "lemmas")
dfLemmas.show(20, false)&lt;/PRE&gt;&lt;P&gt;but I get this&lt;/P&gt;&lt;PRE&gt;&amp;lt;console&amp;gt;:42: error: not found: value lemmas
       val dfLemmas= filteredDF.withColumn("lemmas", lemmas('noURL)).select("racist", "filtered","noURL", "lemmas")&lt;/PRE&gt;&lt;P&gt;Do I have to download the files and build them or something? If so how do I do that?&lt;/P&gt;&lt;P&gt;Or is there an easier way?&lt;/P&gt;&lt;P&gt;TIA!!!!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 20:27:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-add-github-dependency-to-spark/m-p/230252#M64240</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-07-04T20:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add github dependency to spark?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-add-github-dependency-to-spark/m-p/230253#M64241</link>
      <description>&lt;P&gt;Here is how you do it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Got its 'name' from &lt;A href="https://spark-packages.org/package/databricks/spark-corenlp"&gt; here&lt;/A&gt; . Spark 2.1 needs scala 2.11 version, so name is: databricks:spark-corenlp:0.2.0-s_2.11.&lt;/LI&gt;&lt;LI&gt;Edit the spark2 interpreter and add the name. Save it and allow it to restart.&lt;/LI&gt;&lt;LI&gt;In Zeppelin:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;%spark.dep
z.reset() 
z.load("databricks:spark-corenlp:0.2.0-s_2.11")&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jul 2017 23:32:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-add-github-dependency-to-spark/m-p/230253#M64241</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-07-05T23:32:47Z</dc:date>
    </item>
  </channel>
</rss>

