浏览代码

HADOOP-17919. Fix command line example in Hadoop Cluster Setup documentation. (#3453)

Rintaro Ikeda 3 年之前
父节点
当前提交
607c20c612
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hadoop-common-project/hadoop-common/src/site/markdown/ClusterSetup.md

+ 1 - 1
hadoop-common-project/hadoop-common/src/site/markdown/ClusterSetup.md

@@ -237,7 +237,7 @@ To start a Hadoop cluster you will need to start both the HDFS and YARN cluster.
 
 
 The first time you bring up HDFS, it must be formatted. Format a new distributed filesystem as *hdfs*:
 The first time you bring up HDFS, it must be formatted. Format a new distributed filesystem as *hdfs*:
 
 
-    [hdfs]$ $HADOOP_HOME/bin/hdfs namenode -format <cluster_name>
+    [hdfs]$ $HADOOP_HOME/bin/hdfs namenode -format
 
 
 Start the HDFS NameNode with the following command on the designated node as *hdfs*:
 Start the HDFS NameNode with the following command on the designated node as *hdfs*: