What are the important configuration files in Hadoop?

There are two important configuration files in a Hadoop cluster:

All the Jobs in Hadoop and HDFS implementation uses

What are the important points a NameNode considers before selecting the DataNode for placing a data block?

Some of the important points for selecting a DataNode by NameNode are as follows:

NameNode also tries to spread