我在Ubuntu 12.04 LTS服务器上运行3节点集群,并在其上安装了带有JDK 1.7的hadoop 1.2.1,现在首先检查map-reduce作业是否正在执行我是否从hadoop-examples-1.2执行了wordcount。 1.jar并得到了惊人的错误:
14/02/20 20:26:52 INFO mapred.JobClient: Running job: job_201402202023_0002
14/02/20 20:26:53 INFO mapred.JobClient: map 0% reduce 0%
14/02/20 20:26:57 INFO mapred.JobClient: Task Id :attempt_201402202023_0002_m_000005_0, Status : FAILED
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:271)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:258)
attempt_201402202023_0002_m_000005_0: execvp: Permission denied
14/02/20 20:27:00 INFO mapred.JobClient: Task Id : attempt_201402202023_0002_r_000001_0, Status : FAILED
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:271)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:258)
attempt_201402202023_0002_r_000001_0: execvp: Permission denied
14/02/20 20:27:04 INFO mapred.JobClient: Task Id : attempt_201402202023_0002_m_000005_1, Status : FAILED
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:271)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:258)
attempt_201402202023_0002_m_000005_1: execvp: Permission denied
14/02/20 20:27:07 INFO mapred.JobClient: Task Id : attempt_201402202023_0002_r_000001_1, Status : FAILED
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:271)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:258)
attempt_201402202023_0002_r_000001_1: execvp: Permission denied
14/02/20 20:27:12 INFO mapred.JobClient: Task Id : attempt_201402202023_0002_m_000005_2, Status : FAILED
java.lang.Throwable: Child Error
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:271)
Caused by: java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:258)
收到此错误后,我从SQL Server 2008 R2执行sqoop导入,其中我收到相同的错误。我的作业日志文件也有同样的错误。我还通过Web UI验证了我的集群的堆大小是200 MB。所以,对我来说内存似乎没有问题,而且用户日志也有hadoop.temp.dir(/ var / lib / hadoop)和日志的stderr文件说:
execvp: Permission denied
请让我知道如何解决此问题。