<?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: Error while executing hive query on Spark as execution engine in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114147#M16581</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/393/aervits.html"&gt;Artem Ervits&lt;/A&gt; Thanks for the prompt reply, Its not about Tez has fallen short, I was just analysing the difference between Different execution engines for Hive.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2016 12:43:45 GMT</pubDate>
    <dc:creator>sangirawat1</dc:creator>
    <dc:date>2016-01-28T12:43:45Z</dc:date>
    <item>
      <title>Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114140#M16574</link>
      <description>&lt;P&gt;I am using HDP 2.3.2&lt;/P&gt;&lt;P&gt;I used following commands to set spark as hive's execution engine&lt;/P&gt;&lt;P&gt;set hive.execution.engine=spark;&lt;/P&gt;&lt;P&gt;and executed query as &lt;/P&gt;&lt;P&gt;select count(*) from tablename;&lt;/P&gt;&lt;P&gt;I got following error,&lt;/P&gt;&lt;PRE&gt;java.lang.NoSuchMethodError: com.fasterxml.jackson.module.scala.deser.BigDecimalDeserializer$.handledType()Ljava/lang/Class;
        at com.fasterxml.jackson.module.scala.deser.NumberDeserializers$.&amp;lt;init&amp;gt;(ScalaNumberDeserializersModule.scala:49)
        at com.fasterxml.jackson.module.scala.deser.NumberDeserializers$.&amp;lt;clinit&amp;gt;(ScalaNumberDeserializersModule.scala)
        at com.fasterxml.jackson.module.scala.deser.ScalaNumberDeserializersModule$class.$init$(ScalaNumberDeserializersModule.scala:61)
        at com.fasterxml.jackson.module.scala.DefaultScalaModule.&amp;lt;init&amp;gt;(DefaultScalaModule.scala:19)
        at com.fasterxml.jackson.module.scala.DefaultScalaModule$.&amp;lt;init&amp;gt;(DefaultScalaModule.scala:35)
        at com.fasterxml.jackson.module.scala.DefaultScalaModule$.&amp;lt;clinit&amp;gt;(DefaultScalaModule.scala)
        at org.apache.spark.rdd.RDDOperationScope$.&amp;lt;init&amp;gt;(RDDOperationScope.scala:78)
        at org.apache.spark.rdd.RDDOperationScope$.&amp;lt;clinit&amp;gt;(RDDOperationScope.scala)
        at org.apache.spark.SparkContext.withScope(SparkContext.scala:681)
        at org.apache.spark.SparkContext.hadoopRDD(SparkContext.scala:956)
        at org.apache.spark.api.java.JavaSparkContext.hadoopRDD(JavaSparkContext.scala:428)
        at org.apache.hadoop.hive.ql.exec.spark.SparkPlanGenerator.generateMapInput(SparkPlanGenerator.java:188)
        at org.apache.hadoop.hive.ql.exec.spark.SparkPlanGenerator.generateParentTran(SparkPlanGenerator.java:134)
        at org.apache.hadoop.hive.ql.exec.spark.SparkPlanGenerator.generate(SparkPlanGenerator.java:106)
        at org.apache.hadoop.hive.ql.exec.spark.LocalHiveSparkClient.execute(LocalHiveSparkClient.java:130)
        at org.apache.hadoop.hive.ql.exec.spark.session.SparkSessionImpl.submit(SparkSessionImpl.java:64)
        at org.apache.hadoop.hive.ql.exec.spark.SparkTask.execute(SparkTask.java:107)
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
        at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:89)
        at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1655)
        at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1414)
        at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:213)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:165)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:376)
        at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:736)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.spark.SparkTask. com.fasterxml.jackson.module.scala.deser.BigDecimalDeserializer$.handledType()Ljava/lang/Class;&lt;/PRE&gt;&lt;P&gt;Please suggest some fixes. thanks&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 21:40:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114140#M16574</guid>
      <dc:creator>sangirawat1</dc:creator>
      <dc:date>2016-01-27T21:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114141#M16575</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2406/sangirawat1.html" nodeid="2406"&gt;@sangeeta rawat&lt;/A&gt; can you elaborate the need to use spark as hive exec engine? Hortonworks does not support this execution model. Where does Tez fall short for you that you think Spark can help?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 21:55:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114141#M16575</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-27T21:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114142#M16576</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2406/sangirawat1.html" nodeid="2406"&gt;@sangeeta rawat&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's not supported yet. You can leverage sparksql to access hive&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 22:24:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114142#M16576</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-27T22:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114143#M16577</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2406/sangirawat1.html" nodeid="2406"&gt;@sangeeta rawat&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://spark.apache.org/docs/1.0.2/sql-programming-guide.html" target="_blank"&gt;https://spark.apache.org/docs/1.0.2/sql-programming-guide.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 22:29:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114143#M16577</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-27T22:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114144#M16578</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; for quick response &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:34:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114144#M16578</guid>
      <dc:creator>harshaljoshi_mc</dc:creator>
      <dc:date>2016-01-28T12:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114145#M16579</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2423/harshaljoshi-mca.html" nodeid="2423"&gt;@Harshal Joshi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please accept the best answer to close the thread and good to have you here &lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:37:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114145#M16579</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-28T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114146#M16580</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; for quick response. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:40:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114146#M16580</guid>
      <dc:creator>harshaljoshi_mc</dc:creator>
      <dc:date>2016-01-28T12:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114147#M16581</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/393/aervits.html"&gt;Artem Ervits&lt;/A&gt; Thanks for the prompt reply, Its not about Tez has fallen short, I was just analysing the difference between Different execution engines for Hive.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:43:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114147#M16581</guid>
      <dc:creator>sangirawat1</dc:creator>
      <dc:date>2016-01-28T12:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114148#M16582</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/140/nsabharwal.html"&gt;@Neeraj Sabharwal&lt;/A&gt; Thanks for the prompt reply&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:45:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114148#M16582</guid>
      <dc:creator>sangirawat1</dc:creator>
      <dc:date>2016-01-28T12:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing hive query on Spark as execution engine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114149#M16583</link>
      <description>&lt;P&gt;I am facing the same issue &lt;/P&gt;&lt;P&gt;et hive.execution.engine=spark;&lt;/P&gt;&lt;P&gt;and executed query as &lt;/P&gt;&lt;P&gt;select count(*) from tablename;&lt;/P&gt;&lt;P&gt;getting same error ,&lt;/P&gt;&lt;P&gt;but select * from table name works fine&lt;/P&gt;&lt;P&gt;so what is the best solution to run &lt;/P&gt;&lt;P&gt;select count(*) from tablename; in hive shell&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 18:54:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-executing-hive-query-on-Spark-as-execution/m-p/114149#M16583</guid>
      <dc:creator>zssspagobi</dc:creator>
      <dc:date>2016-09-28T18:54:39Z</dc:date>
    </item>
  </channel>
</rss>

