分享

零基础学习hadoop到上手工作线路指导(编程篇)

 
提示: 作者被禁止或删除 内容自动屏蔽

本帖被以下淘专辑推荐:

已有(69)人评论

跳转到指定楼层
opengreat 发表于 2014-7-19 22:23:10
大神求指教:
环境:虚拟机Hadoop2.4.1;主机Win7
目的:想用Win7上的eclipse连虚拟机做Mapreduce程序,但在运行时报这个问题,

14/07/19 18:16:25 INFO mapreduce.Job: Job job_1405737269667_0011 failed with state FAILED due to: Application application_1405737269667_0011 failed 2 times due to AM Container for appattempt_1405737269667_0011_000002 exited with  exitCode: 1 due to: Exception from container-launch: org.apache.hadoop.util.Shell$ExitCodeException: /bin/bash: line 0: fg: no job control

org.apache.hadoop.util.Shell$ExitCodeException: /bin/bash: line 0: fg: no job control

        at org.apache.hadoop.util.Shell.runCommand(Shell.java:505)
        at org.apache.hadoop.util.Shell.run(Shell.java:418)
        at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:650)
        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:300)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)


Container exited with a non-zero exit code 1
.Failing this attempt.. Failing the application.
14/07/19 18:16:25 INFO mapreduce.Job: Counters: 0

之前有大神在坛子上说了这个问题,貌似是YARNRunner.java的问题,且apache上也有对2.2版本的patch,但是对于2.4怎么改没有说,自己对Hadoop调试这块还不是很熟,不知道有没有已经编译好的class可以直接覆盖或者相关的文档可以参考的?
回复

使用道具 举报

hyj 发表于 2014-7-21 13:01:56
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

june_fu 发表于 2014-8-18 00:21:05
回复

使用道具 举报

深蓝奇迹 发表于 2014-8-19 17:30:19
希望自己可以学会这个啊,这就是我未来的路啊!
回复

使用道具 举报

leeworld88 发表于 2014-9-5 11:24:41
拜读了 谢谢
回复

使用道具 举报

break-spark 发表于 2014-10-16 09:46:14
很不错,先收藏,再好好看
回复

使用道具 举报

xjcooo 发表于 2014-11-13 15:41:01
学习中。。。。
回复

使用道具 举报

ltdh6889 发表于 2014-11-14 13:00:00
错了,是将hadoop.dll放在C:\Windows\System32下面, 将winutils.exe放在HADOOP_HOME/bin目录下面
回复

使用道具 举报

chuyuan_zhou 发表于 2014-12-1 17:34:25
够详细,谢谢啊。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条