Hadoop YARN 2.2.0“文本文件繁忙错误”

时间:2014-02-25 07:38:33

标签: hadoop amazon-ec2 centos yarn

我在CentOS 6.4 ec2 AMI上运行单节点Hadoop 2.2.0 YARN群集,当我提交作业时,我收到以下错误,该错误似乎是在启动容器时发生的。有人可以告诉我如何解决这个问题吗?

提前致谢。

Exception from container-launch: 
org.apache.hadoop.util.Shell$ExitCodeException: /bin/bash: /tmp/hadoop-root/nm-local-dir/usercache/root/appcache/application_1393311978074_0011/container_1393311978074_0011_01_000003/launch_container.sh: /bin/bash: bad interpreter: Text file busy

    at org.apache.hadoop.util.Shell.runCommand(Shell.java:464)
    at org.apache.hadoop.util.Shell.run(Shell.java:379)
    at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:589)
    at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:195)
    at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:283)
    at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:79)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

1 个答案:

答案 0 :(得分:2)

事实上似乎有问题的bug修复,检查出来。 https://issues.apache.org/jira/browse/YARN-1271