<?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: Hive execution engine set to Spark is recommended? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-execution-engine-set-to-Spark-is-recommended/m-p/177907#M58371</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14451/pjalleda.html" nodeid="14451"&gt;@PJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you setting:&lt;/P&gt;&lt;PRE&gt;set hive.execution.engine=spark;&lt;/PRE&gt;&lt;P&gt;Hive's execution engine only supports MapReduce &amp;amp; Tez. Running with 
Spark is not supported in HDP at this current moment in time.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HIVE-7292" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-7292&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 00:40:24 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-03-29T00:40:24Z</dc:date>
    <item>
      <title>Hive execution engine set to Spark is recommended?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-execution-engine-set-to-Spark-is-recommended/m-p/177906#M58370</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does Hortonworks recommend hive queries which where previously running on tez to be changed to run on spark engine? What are the draawbacks? How beneficial it is, if it is? I just tried to simple select query on a table after setting I am gettibg following error:&lt;/P&gt;&lt;P&gt;java.lang.NoClassDefFoundError: org/apache/spark/SparkConf
        at org.apache.hadoop.hive.ql.exec.spark.HiveSparkClientFactory.generateSparkConf(HiveSparkClientFactory.java:160)
        at org.apache.hadoop.hive.ql.exec.spark.RemoteHiveSparkClient.&amp;lt;init&amp;gt;(RemoteHiveSparkClient.java:89)
        at org.apache.hadoop.hive.ql.exec.spark.HiveSparkClientFactory.createHiveSparkClient(HiveSparkClientFactory.java:65)
        at org.apache.hadoop.hive.ql.exec.spark.session.SparkSessionImpl.open(SparkSessionImpl.java:55)
        at org.apache.hadoop.hive.ql.exec.spark.session.SparkSessionManagerImpl.getSession(SparkSessionManagerImpl.java:117)
        at org.apache.hadoop.hive.ql.exec.spark.SparkUtilities.getSparkSession(SparkUtilities.java:112)
        at org.apache.hadoop.hive.ql.exec.spark.SparkTask.execute(SparkTask.java:101)
        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:1745)
        at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1491)
        at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1289)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1156)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1146)
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:217)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:169)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:380)
        at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:740)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:685)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
Caused by: java.lang.ClassNotFoundException: org.apache.spark.SparkConf
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 26 more
FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.spark.SparkTask. org/apache/spark/SparkConf&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 00:33:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-execution-engine-set-to-Spark-is-recommended/m-p/177906#M58370</guid>
      <dc:creator>pmj</dc:creator>
      <dc:date>2017-03-29T00:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hive execution engine set to Spark is recommended?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-execution-engine-set-to-Spark-is-recommended/m-p/177907#M58371</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14451/pjalleda.html" nodeid="14451"&gt;@PJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you setting:&lt;/P&gt;&lt;PRE&gt;set hive.execution.engine=spark;&lt;/PRE&gt;&lt;P&gt;Hive's execution engine only supports MapReduce &amp;amp; Tez. Running with 
Spark is not supported in HDP at this current moment in time.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HIVE-7292" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-7292&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 00:40:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-execution-engine-set-to-Spark-is-recommended/m-p/177907#M58371</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-29T00:40:24Z</dc:date>
    </item>
  </channel>
</rss>

