hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabu Soundar Rajan -X (prabsoun - MINDTREE LIMITED at Cisco)" <>
Subject Reduce phase in Hive on Spark
Date Mon, 03 Nov 2014 12:16:34 GMT
Hi Team,

We are trying hive on Spark in our cluster and we are experiencing the below exception whenever
the hive queries involves a reducer phase in its execution (like group by, UDAF). Could you
please help us understand the compatibility of Hive on Spark in UDAF execution and the root
cause of this exception.

We are using Spark 1.1.0 version and made the build using the hadoop-2 profile(mvn clean install
-DskipTests -Phadoop-2) with the code downloaded from

hive (default)> select count(*) from employee;
Query ID = phodisvc_20141103032121_978e1f48-6290-4e5d-8a57-955edc98b7cd
Total jobs = 1
Launching Job 1 out of 1
In order to change the average load for a reducer (in bytes):
  set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
  set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
  set mapred.reduce.tasks=<number>
        at org.apache.hadoop.hive.ql.exec.spark.SparkClient.execute(
        at org.apache.hadoop.hive.ql.exec.spark.session.SparkSessionImpl.submit(
        at org.apache.hadoop.hive.ql.exec.spark.SparkTask.execute(
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(
        at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(
        at org.apache.hadoop.hive.ql.Driver.launchTask(
        at org.apache.hadoop.hive.ql.Driver.execute(
        at org.apache.hadoop.hive.ql.Driver.runInternal(
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processLine(
        at org.apache.hadoop.hive.cli.CliDriver.executeDriver(
        at org.apache.hadoop.hive.cli.CliDriver.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(
FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.spark.SparkTask.;)Lorg/apache/spark/api/java/JavaFutureAction;

Thanks & Regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message