I am testing MapReduce wordcount example on Amazon EC2 m1.small instance I have followed Amazon command line getting started guide.
bin/ec2hadoop launch-cluster test 2
Using this command I have 2 slave nodes. (in total 3 instances running) Then I can login to master node to run the hadoop program (which is a bundled into jar file) It took 35 minutes.
For scalability experiment, then I ran the same program using 4 instances
bin/ec2hadoop launch-cluster test 4
To my surprise, I did not see any gain in performance. The MapReduce application took almost same amount of time (33 minutes)
Where can the problem lie ? Is it acceptable behaviour ?
In mapred-site.xml
mapred.tasktracker.map.tasks.maximum is set to 1
mapred.tasktracker.reduce.tasks.maximum is set to 1
Any suggestions are welcome.