Hadoop namenode format on new cluster

在hadoop部署好了之后是不能马上应用的,还要对配置的文件系统进行格式化。

使用命令:

hadoop namenode -format

注释:namenode和secondary namenode均需要format。

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback: dig +short txt issue.imzye.com
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Buy Me a Coffee