I am trying to follow the hadoop installation from here >> installing hadoop 2.6.0 in Pseudo-distributed mode
I am able to start my HDFS and YARN successfully on my ubuntu 16.04 LTS and the jps command is also returning :
9026 NodeManager
7348 NameNode
9766 Jps
8887 ResourceManager
7507 DataNode.
However, when i'm trying to run the examples provided with the hadoop binaries using the command :
bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar grep input output 'dfs[a-z.]+',
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.
NOTE : I have Oracle JDK 1.7.0_79 installed on my system