Explore Courses Blog Tutorials Interview Questions
0 votes
in Big Data Hadoop & Spark by (50.2k points)

I am installing a Hadoop distributed mode cluster, and I have downloaded Hadoop and extracted the compressed file. While editing the configuration file, I am having some doubts. What does the fs.defaultFS property does in the core-site.xml file?

I have 3 nodes: --> Master Machine (NameNode, SecondaryNameNode & ResourceManager daemons) --> Slave1 (Datanode & NodeManager daemons) --> Slave2 (Datanode & NodeManager daemons)

My configuration is as below:





Do we have to pass the address of the NameNode here?

1 Answer

0 votes
by (108k points) property in core-site.xml indicates the address of the NameNode and all the HDFS command refers to this NameNode address. It tells the default HDFS address.

9000 is the port where the data node will send a heartbeat to the namenode.

Browse Categories