> Database > (Apache) Hadoop > Hadoop Distributed File System (HDFS)

1 - About

The DFSAdmin is a sub-command of the hdfs command line and is used for administering an HDFS cluster.

These are commands that are used only by an HDFS administrator.


3 - Example

dfsadmin is a subcommand of hdfs

Action Command
Put the cluster in Safemode hdfs dfsadmin -safemode enter
Generate a list of DataNodes hdfs dfsadmin -report
Recommission or decommission DataNode(s) hdfs dfsadmin -refreshNodes

4 - Documentation / Reference