Parcourir la source

HDFS-12879. Ozone : add scm init command to document. Contributed by Rahul Pathak.

Xiaoyu Yao il y a 7 ans
Parent
commit
150c4e1d0b

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneCommandShell.md

@@ -114,7 +114,7 @@ Returns information about a given bucket.
 ### List Buckets
 ### List Buckets
 List buckets on a given volume.
 List buckets on a given volume.
 
 
-* `hdfs oz -listtBucket http://localhost:9864/hive`
+* `hdfs oz -listBucket http://localhost:9864/hive`
 
 
 Ozone Key Commands
 Ozone Key Commands
 ------------------
 ------------------

+ 6 - 0
hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneGettingStarted.md.vm

@@ -244,6 +244,12 @@ is running, please verify it is fully functional by running some commands like
  need to start SCM and KSM. Currently we assume that both KSM and SCM
  need to start SCM and KSM. Currently we assume that both KSM and SCM
   is running on the same node, this will change in future.
   is running on the same node, this will change in future.
 
 
+ The first time you bring up Ozone, SCM must be initialized.
+
+   - `./hdfs scm -init`
+
+ Start SCM and KSM.
+
    - `./hdfs --daemon start scm`
    - `./hdfs --daemon start scm`
    - `./hdfs --daemon start ksm`
    - `./hdfs --daemon start ksm`