hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ritesh Kumar Singh <>
Subject Hive giving errors while running queries
Date Mon, 07 Jul 2014 05:16:37 GMT
hive>select COUNT(*) from movies;
Total MapReduce jobs = 1
Launching Job 1 out of 1
Number of reduce tasks determined at compile time: 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>
Starting Job = job_1404661589735_0002, Tracking URL =
Kill Command = /usr/local/hadoop/bin/hadoop job  -kill
Hadoop job information for Stage-1: number of mappers: 0; number of
reducers: 0
2014-07-07 10:11:14,770 Stage-1 map = 0%,  reduce = 0%
Ended Job = job_1404661589735_0002 with errors
Error during job, obtaining debugging information...
*FAILED: Execution Error, return code 2 from
MapReduce Jobs Launched:
Job 0:  HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec

Any suggestions are welcomed.

View raw message