Home > General > Installing Hadoop for Fedora & Oracle Linux(Single Node Cluster) Part-II

Installing Hadoop for Fedora & Oracle Linux(Single Node Cluster) Part-II


accretion infinity

In the last post we saw how to setup a single node cluster. In this post we will test our setup by running a sample Map/Reduce JAVA program. For the purpose of this tutorial we will use wordcount example provided with Hadoop distribution. Lets start:

Firstly, start your single node cluster if you have not done so till now. To start your cluster type start-all.sh.

start-all.sh

Next check whether all the JAVA process have started or not by using the command jps.

[hduser@Fuji ~]$ jps
6794 NameNode
7362 TaskTracker
7107 SecondaryNameNode
7494 Jps
6938 DataNode
7205 JobTracker

Change your working directory to $HADOOP_HOME, this will make things easy for us.

 cd $HADOOP_HOME

We need some text files which will act as input for our test program. Put all the text files you could mange to a directory and lets call this directory input_local. Large input data is recommended…

View original post 502 more words

Advertisements
Categories: General
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: