Support Questions

Find answers, ask questions, and share your expertise

What are the main hdfs-site.xml properties?

avatar
Rising Star

What are the main hdfs-site.xml properties?

1 REPLY 1

avatar
Rising Star

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. dfs.name.dir 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. dfs.data.dir 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.