0 votes
in Hadoop by
What are the main hdfs-site.xml properties?

2 Answers

0 votes
by

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:

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.

dfs.data.dir gives the location of DataNodes where it stores the data.

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.

0 votes
by

The three main hdfs-site.xml properties are:

Dfs.name.dir which gives you the location on which metadata will be stored and where DFS is located – on disk or onto the remote.

Dfs.data.dir which gives you the location where the data is going to be stored.

Fs.checkpoint.dir which is for secondary Namenode.

...