[hadoop@zui hadoop]$ hadoop namenode -format
WARNING: Use of this script to execute namenode is deprecated.
WARNING: Attempting to execute replacement "hdfs namenode" instead.
namenode is running as process 18452. Stop it first.
(3.0.3使用 : hdfs namenode -formate)
[hadoop@zui hadoop]$ stop-dfs.sh
Stopping namenodes on [zui]
zui: Warning: Permanently added 'zui' (ECDSA) to the list of known hosts.
zui: ERROR: Unable to kill 18452
Stopping datanodes
localhost: ERROR: Unable to kill 19132
Stopping secondary namenodes [zui]
zui: ERROR: Unable to kill 19311
[hadoop@zui hadoop]$ stop-all.sh
WARNING: Stopping all Apache