Dear Learner,


1. When we install hadoop from this link:

http://mirrors.sonic.net/apache/hadoop/common/stable/hadoop-2.6.0.tar.gz


then what this hadoop package contains means what are we getting after downloading this.how can we we determine that this is now hdfs daemons,yarn

Solution :- Once we download the hadoop tar file we will get multiple folder inside that which contains all the jar file related to hadoop, configuration file which we edit to setup the cluster, folder of the service through which we can start the daemons etc.

In hadoop 2.x namenode and datanode are started through hadoop daemon, nodemanager and resourcemanager are started through yarn dameon and history server through mr jobhistory daemon.

Below is the screenshot to check the location of the services.


2. does this hadoop package contains all the 5 configuration files and then after we edit them.

Yes, the hadoop tar file contains all the 5 configuration files which we have edit to setup the cluster.
 

3. when we install single node cluster,how can we determine that this is our local system and this is our hdfs.
 
Once the hadoop cluster is set then with the help of commands and through browser we can check the location of the file and accordingly we can identify whether this is a local file or hdfs file.

For eg -> If we execute only ls command on the terminal then it will display the file which are present in local file system and if we execute hdfs dfs -ls / command then it will display the file present in hdfs.

 


Feel free to contact us in case you have any query.