xiaoyuyao commented on a change in pull request #429: HDDS-2727.
start/OnPrem.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/429#discussion_r366061192
##########
File path: hadoop-hdds/docs/content/start/OnPrem.zh.md
##########
@@ -105,67 +88,67 @@ Here is an example,
{{< /highlight >}}
-## Ozone Settings Summary
+## Ozone 参数汇总
| Setting | Value | Comment |
|--------------------------------|------------------------------|------------------------------------------------------------------|
-| ozone.metadata.dirs | file path | The metadata
will be stored here. |
-| ozone.scm.names | SCM server name |
Hostname:port or IP:port address of SCM. |
-| ozone.scm.block.client.address | SCM server name and port | Used by
services like OM |
-| ozone.scm.client.address | SCM server name and port | Used by
client-side |
-| ozone.scm.datanode.address | SCM server name and port | Used by
datanode to talk to SCM |
-| ozone.om.address | OM server name | Used by
Ozone handler and Ozone file system. |
+| ozone.metadata.dirs | 文件路径 | 元数据存储位置
|
+| ozone.scm.names | SCM 服务地址 | SCM的主机名:端口,或者IP:端口 |
+| ozone.scm.block.client.address | SCM 服务地址和端口 | OM 等服务使用
|
+| ozone.scm.client.address | SCM 服务地址和端口 | 客户端使用
|
+| ozone.scm.datanode.address | SCM 服务地址和端口 | Datanode 使用
|
+| ozone.om.address | OM 服务地址 | Ozone handler 和 Ozone
文件系统使用 |
-## Startup the cluster
+## 启动集群
-Before we boot up the Ozone cluster, we need to initialize both SCM and Ozone
Manager.
+在启动 Ozone 集群之前,需要初始化 SCM 和 OM。
{{< highlight bash >}}
ozone scm --init
{{< /highlight >}}
-This allows SCM to create the cluster Identity and initialize its state.
-The ```init``` command is similar to Namenode format. Init command is executed
only once, that allows SCM to create all the required on-disk structures to
work correctly.
+
+这条命令会使 SCM 创建集群 ID 并初始化它的状态。
+```init``` 命令和 Namenode 的 ```format``` 命令类似,只需要执行一次,SCM 就可以在磁盘上准备好正常运行所需的数据结构。
+
{{< highlight bash >}}
ozone --daemon start scm
{{< /highlight >}}
-Once we know SCM is up and running, we can create an Object Store for our use.
This is done by running the following command.
+SCM 启动之后,我们就可以开始初始化对象存储空间,命令如下:
Review comment:
初始化对象存储空间=》创建对象存储空间
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]