<?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 Spark Testing base 1.6.1_0.3.3 for spark version 2.0.2 is throwing java.lang.NoClassDefFoundError: org/apache/spark/Logging in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Testing-base-1-6-1-0-3-3-for-spark-version-2-0-2-is/m-p/163761#M49492</link>
    <description>&lt;P&gt;A needed class was not found. This could be due to an error in your runpath. Missing class: org/apache/spark/Logging
java.lang.NoClassDefFoundError: org/apache/spark/Logging&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/58286/noclassdeffounderror-orgapachesparklogging-using-s.html" target="_blank"&gt;https://community.hortonworks.com/questions/58286/noclassdeffounderror-orgapachesparklogging-using-s.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looked at the above question i think its valid for spark prior to 2.0 but iam looking for 2.0.2 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried adding dependencies in sbt for Spark streaming, twitter and many more. Still i get this error for spark 2.0.2. Any ideas how to get this resolved? Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2016 19:43:22 GMT</pubDate>
    <dc:creator>bigspark</dc:creator>
    <dc:date>2016-12-20T19:43:22Z</dc:date>
    <item>
      <title>Spark Testing base 1.6.1_0.3.3 for spark version 2.0.2 is throwing java.lang.NoClassDefFoundError: org/apache/spark/Logging</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Testing-base-1-6-1-0-3-3-for-spark-version-2-0-2-is/m-p/163761#M49492</link>
      <description>&lt;P&gt;A needed class was not found. This could be due to an error in your runpath. Missing class: org/apache/spark/Logging
java.lang.NoClassDefFoundError: org/apache/spark/Logging&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/58286/noclassdeffounderror-orgapachesparklogging-using-s.html" target="_blank"&gt;https://community.hortonworks.com/questions/58286/noclassdeffounderror-orgapachesparklogging-using-s.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looked at the above question i think its valid for spark prior to 2.0 but iam looking for 2.0.2 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried adding dependencies in sbt for Spark streaming, twitter and many more. Still i get this error for spark 2.0.2. Any ideas how to get this resolved? Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 19:43:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Testing-base-1-6-1-0-3-3-for-spark-version-2-0-2-is/m-p/163761#M49492</guid>
      <dc:creator>bigspark</dc:creator>
      <dc:date>2016-12-20T19:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Testing base 1.6.1_0.3.3 for spark version 2.0.2 is throwing java.lang.NoClassDefFoundError: org/apache/spark/Logging</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Testing-base-1-6-1-0-3-3-for-spark-version-2-0-2-is/m-p/163762#M49493</link>
      <description>&lt;P&gt;org,apache.spark.Logging was a private api in 2.0&lt;/P&gt;&lt;P&gt;It was always marked as a @Private, but was exposed till 1.6; and this was tightened in 2.0 to remove its visibility.&lt;/P&gt;&lt;P&gt;Bottomline is, you cant depend on it; and have to modify code to remove dependency on the trait..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mridul&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 01:55:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Testing-base-1-6-1-0-3-3-for-spark-version-2-0-2-is/m-p/163762#M49493</guid>
      <dc:creator>mmuralidharan</dc:creator>
      <dc:date>2016-12-21T01:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Testing base 1.6.1_0.3.3 for spark version 2.0.2 is throwing java.lang.NoClassDefFoundError: org/apache/spark/Logging</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Testing-base-1-6-1-0-3-3-for-spark-version-2-0-2-is/m-p/163763#M49494</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15023/mmuralidharan.html" nodeid="15023"&gt;@Mridul M&lt;/A&gt; Thanks for the reply. Actually i was using the old version of  spark testing base. Didn't know there was a 2.0.2 version. Holden karau pointed me to maven central where i found the latest version of spark testing  base. In github readme of spark testing base it was mentioned 1.6 so i assumed the latest version was 1.6. But now its sorted and spark 2.0.2 Dataframe testing works for me. In case people might need this it also needs Hive dependency. Currently its new and couldnt find forums in spark 2.0 testing so iam posting this might help save time for other developers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 17:31:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Spark-Testing-base-1-6-1-0-3-3-for-spark-version-2-0-2-is/m-p/163763#M49494</guid>
      <dc:creator>bigspark</dc:creator>
      <dc:date>2016-12-21T17:31:53Z</dc:date>
    </item>
  </channel>
</rss>

