hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knowledge gatherer <>
Subject Error while executing Jobs in Hive
Date Sun, 21 Sep 2014 10:06:10 GMT
Whenever I am running a hive query - select * from table. It is running
fine. But when i m trying to run a MR job for query - select count(*) from
table. It is failing with the following error -

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= In order to
limit the maximum number of reducers: set hive.exec.reducers.max= In order
to set a constant number of reducers: set mapred.reduce.tasks= cannot find dir = hdfs://hostname:9000/tmp in
pathToPartitionInfo: [hdfs://hostname:9000/data1/] at
at org.apache.hadoop.mapred.JobClient.writeOldSplits(
at org.apache.hadoop.mapred.JobClient.writeSplits( at
org.apache.hadoop.mapred.JobClient.access$700( at
org.apache.hadoop.mapred.JobClient$ at
org.apache.hadoop.mapred.JobClient$ at Method) at at
at org.apache.hadoop.mapred.JobClient.submitJobInternal(
at org.apache.hadoop.mapred.JobClient.submitJob( at
org.apache.hadoop.hive.ql.exec.ExecDriver.execute( at
org.apache.hadoop.hive.ql.exec.MapRedTask.execute( at
org.apache.hadoop.hive.ql.exec.Task.executeTask( at
at org.apache.hadoop.hive.ql.Driver.launchTask( at
org.apache.hadoop.hive.ql.Driver.execute( at 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 at
org.apache.hadoop.hive.cli.CliDriver.main( at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
at java.lang.reflect.Method.invoke( at
org.apache.hadoop.util.RunJar.main( Job Submission failed
with exception ' find dir =
hdfs://hostname:9000/tmp in pathToPartitionInfo:
[hdfs://hostname:9000/data1/])' FAILED: Execution Error, return code 1 from

Please help !!!

View raw message