Ubuntu: start-mapred.sh file not present in Hadoop 2.7.0



Question:

I have installed Hadoop 2.7.0 on Ubuntu 14.04. start-dfs.sh,start-yarn.sh and start-all.sh files are in the sbin directory. But start-mapred.sh is not present in the directory. what might be the problem in my installation?


Solution:1

It is not a problem with your installation. Hadoop 2 uses YARN framework i.e. MapReduce 2.0 (MRv2).
Refer Hadoop Yarn for more details.

So, start-mapred.sh is not required. To start Hadoop, use start-all.sh or start-dfs.sh and start-yarn.sh.

YARN’s original purpose was to split up the two major responsibilities of the JobTracker/TaskTracker into separate entities:

  • a global ResourceManager
  • a per-application ApplicationMaster
  • a per-node slave NodeManager
  • a per-application Container running on a NodeManager

You might be following tutorials explaining Hadoop 1 setup.

Apache Hadoop Yarn will help you.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »