<?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: Sandbox 2.4 Phoenix Spark classpath issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sandbox-2-4-Phoenix-Spark-classpath-issue/m-p/141572#M40055</link>
    <description>&lt;P&gt;Well it turns out that this is the minimum required:&lt;/P&gt;&lt;PRE&gt;spark.driver.extraClassPath /usr/hdp/2.4.0.0-169/phoenix/lib/phoenix-spark-4.4.0.2.4.0.0-169.jar:/usr/hdp/2.4.0.0-169/phoenix/lib/hbase-client.jar:/usr/hdp/2.4.0.0-169/phoenix/lib/hbase-common.jar:/usr/hdp/2.4.0.0-169/phoenix/lib/phoenix-core-4.4.0.2.4.0.0-169.jar:/usr/hdp/2.4.0.0-169/phoenix/lib/hbase-protocol.jar:/usr/hdp/2.4.0.0-169/zeppelin/lib/interpreter/phoenix/hbase-server-1.0.1.jar&lt;/PRE&gt;&lt;P&gt;And use the same for spark.executor.extraClassPath&lt;/P&gt;&lt;P&gt;All these jar are directly available on the HDP 2.4 sandbox&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2016 05:44:52 GMT</pubDate>
    <dc:creator>jknulst</dc:creator>
    <dc:date>2016-09-08T05:44:52Z</dc:date>
    <item>
      <title>Sandbox 2.4 Phoenix Spark classpath issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sandbox-2-4-Phoenix-Spark-classpath-issue/m-p/141571#M40054</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am trying to add just the right jar to Sparks driver/executor classpaths to make the basic &lt;A href="https://phoenix.apache.org/phoenix_spark.html"&gt;tutorial&lt;/A&gt; work. There they mention some fat jar that contains all you need but such a jar is not shipped with HDP 2.4. Where can I find this jar? I am wary of using a non HWX build jar in order not to have shadowing jar in that 3rd party fat jar that break something else...&lt;/P&gt;&lt;P&gt;So far I added these jars to the cp (formatted for readability):&lt;/P&gt;&lt;PRE&gt;spark.executor.extraClassPath 

/usr/hdp/2.4.0.0-169/phoenix/lib/phoenix-spark-4.4.0.2.4.0.0-169.jar:
/usr/hdp/2.4.0.0-169/phoenix/lib/hbase-client.jar:
/usr/hdp/2.4.0.0-169/phoenix/lib/phoenix-core-4.4.0.2.4.0.0-169.jar:
/usr/hdp/2.4.0.0-169/phoenix/lib/phoenix-server-client-4.4.0.2.4.0.0-169.jar&lt;/PRE&gt;&lt;P&gt;But still I get :&lt;/P&gt;&lt;PRE&gt;java.lang.ClassNotFoundException: Failed to find data source: org.apache.phoenix.spark. Please find packages at &lt;A href="http://spark-packages.org" target="_blank"&gt;http://spark-packages.org&lt;/A&gt;
       	at org.apache.spark.sql.execution.datasources.ResolvedDataSource$.lookupDataSource(ResolvedDataSource.scala:77)
&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Sep 2016 04:34:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sandbox-2-4-Phoenix-Spark-classpath-issue/m-p/141571#M40054</guid>
      <dc:creator>jknulst</dc:creator>
      <dc:date>2016-09-08T04:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox 2.4 Phoenix Spark classpath issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sandbox-2-4-Phoenix-Spark-classpath-issue/m-p/141572#M40055</link>
      <description>&lt;P&gt;Well it turns out that this is the minimum required:&lt;/P&gt;&lt;PRE&gt;spark.driver.extraClassPath /usr/hdp/2.4.0.0-169/phoenix/lib/phoenix-spark-4.4.0.2.4.0.0-169.jar:/usr/hdp/2.4.0.0-169/phoenix/lib/hbase-client.jar:/usr/hdp/2.4.0.0-169/phoenix/lib/hbase-common.jar:/usr/hdp/2.4.0.0-169/phoenix/lib/phoenix-core-4.4.0.2.4.0.0-169.jar:/usr/hdp/2.4.0.0-169/phoenix/lib/hbase-protocol.jar:/usr/hdp/2.4.0.0-169/zeppelin/lib/interpreter/phoenix/hbase-server-1.0.1.jar&lt;/PRE&gt;&lt;P&gt;And use the same for spark.executor.extraClassPath&lt;/P&gt;&lt;P&gt;All these jar are directly available on the HDP 2.4 sandbox&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 05:44:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sandbox-2-4-Phoenix-Spark-classpath-issue/m-p/141572#M40055</guid>
      <dc:creator>jknulst</dc:creator>
      <dc:date>2016-09-08T05:44:52Z</dc:date>
    </item>
  </channel>
</rss>

