Skip to content

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 me#imzye.me, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try iOS App