Hello,

I am using hive 0.12 and when I try to run 'select * from table_name;' the
query executes fine. But when I try to run any other query that starts a
map reduce job, I get the following error:

java.lang.RuntimeException: java.io.FileNotFoundException:
HIVE_PLAN04659b4b-fa70-4344-995d-44aa2a73fa80 (No such file or directory)
        at
org.apache.hadoop.hive.ql.exec.Utilities.getMapRedWork(Utilities.java:223)
        at
org.apache.hadoop.hive.ql.io.HiveInputFormat.init(HiveInputFormat.java:255)
        at
org.apache.hadoop.hive.ql.io.HiveInputFormat.pushProjectionsAndFilters(HiveInputFormat.java:381)
        at
org.apache.hadoop.hive.ql.io.HiveInputFormat.pushProjectionsAndFilters(HiveInputFormat.java:374)
        at
org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getRecordReader(CombineHiveInputFormat.java:525)
        at
org.apache.hadoop.mapred.MapTask$TrackedRecordReader.<init>(MapTask.java:197)
        at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:418)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:372)
        at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1149)
        at org.apache.hadoop.mapred.Child.main(Child.java:249)
Caused by: java.io.FileNotFoundException:
HIVE_PLAN04659b4b-fa70-4344-995d-44aa2a73fa80 (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at java.io.FileInputStream.<init>(FileInputStream.java:101)
        at
org.apache.hadoop.hive.ql.exec.Utilities.getMapRedWork(Utilities.java:214)
        ... 12 more

Could anyone help me with this? I understand that a HIVE_PLAN file is
missing. But I do not know where this file is supposed to be and how it
will be generated. I am grateful to any pointers regarding this error.

Thank you,

Regards,
Nivedhita S

Reply via email to