以伪分布式模式停止运行Hadoop示例 [英] Running Hadoop examples halt in Pseudo-Distributed mode

查看:57
本文介绍了以伪分布式模式停止运行Hadoop示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在独立模式下,每件事都运行良好,当进入伪分布式模式时,HDFS运行良好,我可以将文件放入HDFS并进行浏览.我还检查了活动节点列表中是否有一个DataNode.

Every thing run well in Standalone mode and when going to the pseudo-distributed mode, the HDFS works well, I can put files to HDFS and browse it. And I also checked that there is one DataNode in the live nodes lists.

但是,当我运行 bin/hadoop jar hadoop-*-examples.jar grep输入输出'dfs [a-z.] +'时,程序只是停在那里而没有产生任何错误.从 http://ereg.adobe.com:50070/dfsnodelist.jsp?whatNodes=LIVE 可以看到,该DataNode上没有任何运行.

However, when I run bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+', the program just halt there without producing any error. And from http://ereg.adobe.com:50070/dfsnodelist.jsp?whatNodes=LIVE I can see that nothing has ever been run on that DataNode.

我遵循了本教程中有关这些xml conf文件的配置.那么,有人对我可能犯的其他错误有任何想法吗?B.T.W,我正在Mac OS X上运行这些东西.

I followed the configuration in the tutorial for those xml conf files. So anyone have any idea about what other mistakes I might have made? B.T.W, I'm running the stuffs on Mac OS X.

推荐答案

通过暂停,您是说它挂了,还是只是默默地返回了?对于Mapreduce问题,您应该检查JobTracker的网页(端口50030)以查看已提交作业的状态.

By halt, do you mean it hangs, or that it just silently returns? For Mapreduce issues, you should check the JobTracker's webpage (at port 50030) to see the status of the submitted job.

这篇关于以伪分布式模式停止运行Hadoop示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆