我本地一台机子起了
4504 ResourceManager
4066 DataNode
4761 NodeManager
5068 JobHistoryServer
4357 SecondaryNameNode
3833 NameNode
5127 Jps
在hadoop-env.sh里设置了HADOOP_OPTS="$HADOOP_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9000"
然后导入编译好的hadoop全部源码并各处打了很多断点,
然后bin/hadoop jar path/to/hadoop-mapreduce-examples-2.2.0.jar wordcount /wordcount /output
然后开始在Eclipse里远程调试,可是在最后只有这个断点生效了。。。
Thread [main] (Suspended (breakpoint at line 342 in JobSubmitter))
JobSubmitter.submitJobInternal(Job, Cluster) line: 342
...
RunJar.main(String[]) line: 212