HADOOP-17919. Fix command line example in Hadoop Cluster Setup documentation. (#3453)
This commit is contained in:
parent
5ebcd4bb92
commit
607c20c612
|
@ -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*:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue