When I distribute Hive to a NFS and execute a select command, it failed: hive> SELECT a.foo FROM invites a;Total MapReduce jobs = 1Launching Job 1 out of 1Number of reduce tasks is set to 0 since there's no reduce operatorStarting Job = job_201110310722_0001, Tracking URL = http://localhost:50030/jobdetails.jsp?jobid=job_201110310722_0001Kill Command = /home/libing/hadoop/bin/../bin/hadoop job -Dmapred.job.trac ker=localhost:9001 -kill job_201110310722_00012011-10-31 07:30:57,717 Stage-1 map = 100%, reduce = 100%Ended Job = job_201110310722_0001 with errorsFAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRe
Then I took a look at the log of hadoop:2011-10-31 07:30:54,390 INFO org.apache.hadoop.mapred.TaskInProgress: Error from attempt_201110310722_0001_m_000002_3: java.io.FileNotFoundException: File /tmp/hive-biadmin/hive_2011-10-31_07-30-05_610_9164994782186337826/-mr-10003/990312dc-3241-4cc7-b9f6-018beb1739bb does not exist. at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:361) at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:245) at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:163) I'm not sure if it's a defect in Hive or in Hadoop. The hadoop version I used is 0.20.2