Created 10-01-2016 06:32 AM
I was going through the 2.x architecture, I got few question about the name node and resource manager
To resolve Single point of failure of Namenode in 1.x arch,In Hadoop 2.x have standby namenode.
to reduce the load of the Job Tracker , In 2.x we have Resource Manager.
Wanted to know,
1. What is the role of Namenode and Resource Manager ?
2. As only one resource manager available/cluster , then It could be a Single Point of failure
3. If NameNode storing meta data info about the blocks (as Hadoop 1.x ) , Then which service is responsible for getting data block information after submitting the job.
see the image : http://hortonworks.com/wp-content/uploads/2014/04/YARN_distributed_arch.png
Resource manager directly interacting with Nodes
4. can anyone tell me, how the flow goes for below commands
$ hadoop fs -put <source> <dest>
$ hadoop jar app.jar <app> <inputfilepath> <outputpath>
Created on 10-01-2016 10:27 AM - edited 08-19-2019 04:42 AM
Hi @Gobi Subramani,
Below answers to your questions:
Created on 10-01-2016 10:27 AM - edited 08-19-2019 04:42 AM
Hi @Gobi Subramani,
Below answers to your questions:
Created 10-02-2016 02:23 AM
Hi ,
Thaks for your quick reply. Couple of pints need to clarify
1. Application master is responsible for getting datablock info from NameNode , and creating container in the respective datanodes for processing the data
2. It is also responsible for monitoring the task and in case it failed, then app master will start the container in different datanode
Created 10-01-2016 10:42 AM
Please read the link so you can understand easily:-
https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/YARN.html
https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/ResourceManagerHA.html
Every hadoop command internally calls a java utility for the further operations. org.apache.hadoop.fs.FsShell
provide command line access to a FileSystem. hadoop fs -put
internally calls the corresponding method from the above package.
to undersatnd the fsshell code please go thorugh the link:-