Support Questions

Find answers, ask questions, and share your expertise

What are the main hdfs-site.xml properties?

What are the main hdfs-site.xml properties?


hdfs-site.xml – This file contains the configuration setting for HDFS daemons. hdfs-site.xml also specify default block replication and permission checking on HDFS.

The three main hdfs-site.xml properties are:

  1. gives you the location where NameNode stores the metadata (FsImage and edit logs). And also specify where DFS should locate – on the disk or in the remote directory.
  2. gives the location of DataNodes where it stores the data.
  3. fs.checkpoint.dir is the directory on the file system. On which secondary NameNode stores the temporary images of edit logs. Then this EditLogs and FsImage will merge for backup.