简体   繁体   English

运行hadoop mapreduce示例时系统重启

[英]System rebooting while running hadoop mapreduce example

I am trying to follow the hadoop installation from here >> installing hadoop 2.6.0 in Pseudo-distributed mode 我正在尝试从此处开始hadoop的安装>> 以伪分布式模式安装hadoop 2.6.0

I am able to start my HDFS and YARN successfully on my ubuntu 16.04 LTS and the jps command is also returning : 我可以在ubuntu 16.04 LTS上成功启动HDFSYARN ,并且jps命令也返回:

9026 NodeManager 9026节点管理器

7348 NameNode 7348 NameNode

9766 Jps 9766 Jps

8887 ResourceManager 8887资源管理器

7507 DataNode. 7507数据节点。

However, when i'm trying to run the examples provided with the hadoop binaries using the command : 但是,当我尝试使用以下命令运行hadoop二进制文件随附的示例时:

bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar grep input output 'dfs[az.]+' , bin / hadoop jar share / hadoop / mapreduce / hadoop-mapreduce-examples-2.6.0.jar grep输入输出'dfs [az。] +'

My system is rebooting and i am not able to find the clue as why is this happening becoz it's even giving any error before rebooting. 我的系统正在重新引导,我无法找到线索,因为为什么会发生这种情况,因为它甚至在重新引导之前给出任何错误。

Your help will be much appreciated as i'm trying to run this from last 2 days. 非常感谢您的帮助,因为我正在尝试从最近2天开始执行此操作。

NOTE : I have Oracle JDK 1.7.0_79 installed on my system 注意:我的系统上安装了Oracle JDK 1.7.0_79

It seems like the behaviour was due to low memory issues. 似乎该行为是由于内存不足问题引起的。 The moment i cleaned up some space on my system and did the steps again, it ran succesfully. 当我清理系统上的一些空间并再次执行步骤时,它成功运行了。

However, i'm not 100% sure about it. 但是,我不是100%知道这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM