<?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: getting exception in spark-hive application. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/getting-exception-in-spark-hive-application/m-p/168526#M130856</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14225/ersanjay2011.html"&gt;Sanjay Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/14225/ersanjay2011.html"&gt; 
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As i see another error there:&lt;/P&gt;&lt;PRE&gt;Caused by: org.datanucleus.exceptions.ClassNotPersistableException: The class "org.apache.hadoop.hive.metastore.model.MVersionTable" is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found. &lt;/PRE&gt;&lt;P&gt;As following JARs contains the class "org.apache.hadoop.hive.metastore.model.MVersionTable"  So can you please check if your Client CLASSPATH includes any of these jars ?   The version might be different in your case.&lt;/P&gt;&lt;PRE&gt;/usr/hdp/2.5.0.0-1133/hive2/lib/hive-metastore.jar OR /usr/hdp/2.5.0.0-1133/hive2/lib/hive-exec.jar OR /usr/hdp/2.5.0.0-1133/spark/lib/spark-hdp-assembly.jar &lt;/PRE&gt;&lt;P&gt;Jar is added properly to your CLASSPATH ? &lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2016 17:10:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-11-08T17:10:56Z</dc:date>
  </channel>
</rss>

