HDFS - DFSAdmin

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.

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

Documentation / Reference


Powered by ComboStrap