You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/01/07 22:43:16 UTC
[GitHub] [hadoop-ozone] iamabug opened a new pull request #417: HDDS-2726.
start/StartFromDockerHub.md translated to Chinese
iamabug opened a new pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417
## What changes were proposed in this pull request?
two .md files modifed
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2726
## How was this patch tested?
hugo server -D
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364574639
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器 Ozone
-The easiest way to start up an all-in-one ozone container is to use the latest
-docker image from docker hub:
+启动一个 all-in-one 的 ozone 容器最简单的方法就是使用 Docker Hub 最新的 docker 镜像:
```bash
docker run -p 9878:9878 -p 9876:9876 apache/ozone
```
-This command will pull down the ozone image from docker hub and start all
-ozone services in a single container. <br>
-This container will run the required metadata servers (Ozone Manager, Storage
-Container Manager) one data node and the S3 compatible REST server
-(S3 Gateway).
+这个命令会从 Docker Hub 拉取 ozone 镜像并在一个容器中启动所有 ozone 服务,包括必要的元数据服务(Ozone Manager,Storage Container Manager)、一个数据节点和兼容 S3
+ 的 REST 服务(S3 网关)。
-# Local multi-container cluster
+# 本地多容器集群
-If you would like to use a more realistic pseudo-cluster where each components
-run in own containers, you can start it with a docker-compose file.
+如果你想要一个更符合实际的伪集群,以便让各个组件运行在单独的容器中,可以使用 docker-compose 配置文件来启动。
-We have shipped a docker-compose and an enviorment file as part of the
-container image that is uploaded to docker hub.
+docker-compose 配置文件和一个 environment 文件已经包含在 Docker Hub 的镜像中。
-The following commands can be used to extract these files from the image in the docker hub.
+下面的命令可以从镜像中获取到这两个文件:
```bash
docker run apache/ozone cat docker-compose.yaml > docker-compose.yaml
docker run apache/ozone cat docker-config > docker-config
```
- Now you can start the cluster with docker-compose:
+现在你可以用 docker-compose 命令来启动集群:
```bash
docker-compose up -d
```
-If you need multiple datanodes, we can just scale it up:
+如果你需要多个数据节点,可以通过下面的命令增加:
```bash
docker-compose scale datanode=3
```
-# Running S3 Clients
+# 运行 S3 客户端
-Once the cluster is booted up and ready, you can verify its status by
-connecting to the SCM's UI at [http://localhost:9876](http://localhost:9876).
+集群启动就绪后,你可以连接 SCM 的 UI 来验证它的状态,地址为([http://localhost:9876](http://localhost:9876))。
-The S3 gateway endpoint will be exposed at port 9878. You can use Ozone's S3
-support as if you are working against the real S3.
+S3 网关的端口为 9878,如果你在用 S3 工作,可以考虑使用 Ozone 的 S3 功能。
Review comment:
用S3作为存出方案=>使用基于AWS S3协议的存储方案
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] qiusuo106 commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
qiusuo106 commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364577363
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器全家桶 Ozone
Review comment:
是“所有 Ozone 服务在单个容器”吗?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364575292
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器全家桶 Ozone
-The easiest way to start up an all-in-one ozone container is to use the latest
-docker image from docker hub:
+启动一个 all-in-one 的 ozone 容器最简单的方法就是使用 Docker Hub 最新的 docker 镜像:
```bash
docker run -p 9878:9878 -p 9876:9876 apache/ozone
```
-This command will pull down the ozone image from docker hub and start all
-ozone services in a single container. <br>
-This container will run the required metadata servers (Ozone Manager, Storage
-Container Manager) one data node and the S3 compatible REST server
-(S3 Gateway).
+这个命令会从 Docker Hub 拉取 ozone 镜像并在一个容器中启动所有 ozone 服务,包括必要的元数据服务(Ozone Manager,Storage Container Manager)、一个数据节点和兼容 S3
+ 的 REST 服务(S3 网关)。
-# Local multi-container cluster
+# 本地多容器集群
Review comment:
Ozone服务在多个独立的容器
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] timmylicheng commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
timmylicheng commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364090588
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器 Ozone
-The easiest way to start up an all-in-one ozone container is to use the latest
-docker image from docker hub:
+启动一个 all-in-one 的 ozone 容器最简单的方法就是使用 Docker Hub 最新的 docker 镜像:
```bash
docker run -p 9878:9878 -p 9876:9876 apache/ozone
```
-This command will pull down the ozone image from docker hub and start all
-ozone services in a single container. <br>
-This container will run the required metadata servers (Ozone Manager, Storage
-Container Manager) one data node and the S3 compatible REST server
-(S3 Gateway).
+这个命令会从 Docker Hub 拉取 ozone 镜像并在一个容器中启动所有 ozone 服务,包括必要的元数据服务(Ozone Manager,Storage Container Manager)、一个数据节点和兼容 S3
+ 的 REST 服务(S3 网关)。
-# Local multi-container cluster
+# 本地多容器集群
-If you would like to use a more realistic pseudo-cluster where each components
-run in own containers, you can start it with a docker-compose file.
+如果你想要一个更符合实际的伪集群,以便让各个组件运行在单独的容器中,可以使用 docker-compose 配置文件来启动。
-We have shipped a docker-compose and an enviorment file as part of the
-container image that is uploaded to docker hub.
+docker-compose 配置文件和一个 environment 文件已经包含在 Docker Hub 的镜像中。
-The following commands can be used to extract these files from the image in the docker hub.
+下面的命令可以从镜像中获取到这两个文件:
```bash
docker run apache/ozone cat docker-compose.yaml > docker-compose.yaml
docker run apache/ozone cat docker-config > docker-config
```
- Now you can start the cluster with docker-compose:
+现在你可以用 docker-compose 命令来启动集群:
```bash
docker-compose up -d
```
-If you need multiple datanodes, we can just scale it up:
+如果你需要多个数据节点,可以通过下面的命令增加:
```bash
docker-compose scale datanode=3
```
-# Running S3 Clients
+# 运行 S3 客户端
-Once the cluster is booted up and ready, you can verify its status by
-connecting to the SCM's UI at [http://localhost:9876](http://localhost:9876).
+集群启动就绪后,你可以连接 SCM 的 UI 来验证它的状态,地址为([http://localhost:9876](http://localhost:9876))。
-The S3 gateway endpoint will be exposed at port 9878. You can use Ozone's S3
-support as if you are working against the real S3.
+S3 网关的端口为 9878,如果你在用 S3 工作,可以考虑使用 Ozone 的 S3 功能。
Review comment:
如果你的系统正在用S3作为存出方案...
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] iamabug commented on issue #417: HDDS-2726.
start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
iamabug commented on issue #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#issuecomment-574425681
@xiaoyuyao how about this patch ?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] iamabug commented on a change in pull request #417:
HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
iamabug commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364476477
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -1,5 +1,5 @@
---
-title: Simple Single Ozone
+title: 简易 Ozone
Review comment:
1. 'Single' is kind of implied by 'Simple'
2. docker-compose way is also introduced in this page, which is not so 'Single'
3. I cannot think of a good way to translate 'Single'
As for what Ozone means, I am not sure if we should emphasize that it is a cluster or server here, it kind of feels like "Ozone is Ozone".
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] iamabug commented on a change in pull request #417:
HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
iamabug commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364475695
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器 Ozone
Review comment:
Sounds good, will do
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] iamabug commented on a change in pull request #417:
HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
iamabug commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364476909
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器 Ozone
-The easiest way to start up an all-in-one ozone container is to use the latest
-docker image from docker hub:
+启动一个 all-in-one 的 ozone 容器最简单的方法就是使用 Docker Hub 最新的 docker 镜像:
```bash
docker run -p 9878:9878 -p 9876:9876 apache/ozone
```
-This command will pull down the ozone image from docker hub and start all
-ozone services in a single container. <br>
-This container will run the required metadata servers (Ozone Manager, Storage
-Container Manager) one data node and the S3 compatible REST server
-(S3 Gateway).
+这个命令会从 Docker Hub 拉取 ozone 镜像并在一个容器中启动所有 ozone 服务,包括必要的元数据服务(Ozone Manager,Storage Container Manager)、一个数据节点和兼容 S3
+ 的 REST 服务(S3 网关)。
-# Local multi-container cluster
+# 本地多容器集群
-If you would like to use a more realistic pseudo-cluster where each components
-run in own containers, you can start it with a docker-compose file.
+如果你想要一个更符合实际的伪集群,以便让各个组件运行在单独的容器中,可以使用 docker-compose 配置文件来启动。
-We have shipped a docker-compose and an enviorment file as part of the
-container image that is uploaded to docker hub.
+docker-compose 配置文件和一个 environment 文件已经包含在 Docker Hub 的镜像中。
-The following commands can be used to extract these files from the image in the docker hub.
+下面的命令可以从镜像中获取到这两个文件:
```bash
docker run apache/ozone cat docker-compose.yaml > docker-compose.yaml
docker run apache/ozone cat docker-config > docker-config
```
- Now you can start the cluster with docker-compose:
+现在你可以用 docker-compose 命令来启动集群:
```bash
docker-compose up -d
```
-If you need multiple datanodes, we can just scale it up:
+如果你需要多个数据节点,可以通过下面的命令增加:
```bash
docker-compose scale datanode=3
```
-# Running S3 Clients
+# 运行 S3 客户端
-Once the cluster is booted up and ready, you can verify its status by
-connecting to the SCM's UI at [http://localhost:9876](http://localhost:9876).
+集群启动就绪后,你可以连接 SCM 的 UI 来验证它的状态,地址为([http://localhost:9876](http://localhost:9876))。
-The S3 gateway endpoint will be exposed at port 9878. You can use Ozone's S3
-support as if you are working against the real S3.
+S3 网关的端口为 9878,如果你在用 S3 工作,可以考虑使用 Ozone 的 S3 功能。
Review comment:
Agreed, much better.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] iamabug commented on issue #417: HDDS-2726.
start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
iamabug commented on issue #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#issuecomment-572417389
new commit is pushed. @xiaoyuyao
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364577476
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器全家桶 Ozone
-The easiest way to start up an all-in-one ozone container is to use the latest
-docker image from docker hub:
+启动一个 all-in-one 的 ozone 容器最简单的方法就是使用 Docker Hub 最新的 docker 镜像:
```bash
docker run -p 9878:9878 -p 9876:9876 apache/ozone
```
-This command will pull down the ozone image from docker hub and start all
-ozone services in a single container. <br>
-This container will run the required metadata servers (Ozone Manager, Storage
-Container Manager) one data node and the S3 compatible REST server
-(S3 Gateway).
+这个命令会从 Docker Hub 拉取 ozone 镜像并在一个容器中启动所有 ozone 服务,包括必要的元数据服务(Ozone Manager,Storage Container Manager)、一个数据节点和兼容 S3
+ 的 REST 服务(S3 网关)。
-# Local multi-container cluster
+# 本地多容器集群
-If you would like to use a more realistic pseudo-cluster where each components
-run in own containers, you can start it with a docker-compose file.
+如果你想要一个更符合实际的伪集群,以便让各个组件运行在单独的容器中,可以使用 docker-compose 配置文件来启动。
-We have shipped a docker-compose and an enviorment file as part of the
-container image that is uploaded to docker hub.
+docker-compose 配置文件和一个 environment 文件已经包含在 Docker Hub 的镜像中。
-The following commands can be used to extract these files from the image in the docker hub.
+下面的命令可以从镜像中获取到这两个文件:
```bash
docker run apache/ozone cat docker-compose.yaml > docker-compose.yaml
docker run apache/ozone cat docker-config > docker-config
```
- Now you can start the cluster with docker-compose:
+现在你可以用 docker-compose 命令来启动集群:
```bash
docker-compose up -d
```
-If you need multiple datanodes, we can just scale it up:
+如果你需要多个数据节点,可以通过下面的命令增加:
```bash
docker-compose scale datanode=3
```
-# Running S3 Clients
+# 运行 S3 客户端
-Once the cluster is booted up and ready, you can verify its status by
-connecting to the SCM's UI at [http://localhost:9876](http://localhost:9876).
+集群启动就绪后,你可以连接 SCM 的 UI 来验证它的状态,地址为([http://localhost:9876](http://localhost:9876))。
-The S3 gateway endpoint will be exposed at port 9878. You can use Ozone's S3
-support as if you are working against the real S3.
+S3 网关的端口为 9878,如果你正在使用 S3 作为存储方案,可以考虑 Ozone 的 S3 功能。
-Here is how you create buckets from command line:
+从命令行创建桶的命令为:
```bash
aws s3api --endpoint http://localhost:9878/ create-bucket --bucket=bucket1
```
-Only notable difference in the above command line is the fact that you have
-to tell the _endpoint_ address to the aws s3api command.
+唯一的区别在于你需要把 endpoint 的地址告诉 aws s3api 命令。
-Now let us put a simple file into the S3 Bucket hosted by Ozone. We will
-start by creating a temporary file that we can upload to Ozone via S3 support.
+下面我们来把一个简单的文件存入 Ozone 的 S3 桶中,首先创建一个用来上传的临时文件:
```bash
ls -1 > /tmp/testfile
```
- This command creates a temporary file that
- we can upload to Ozone. The next command actually uploads to Ozone's S3
- bucket using the standard aws s3 command line interface.
+ 这个命令创建了一个用来上传到 Ozone 的临时文件,下面的命令用标准的 aws s3 命令行接口把这个文件上传到了 Ozone 的 S3 桶中:
```bash
aws s3 --endpoint http://localhost:9878 cp --storage-class REDUCED_REDUNDANCY /tmp/testfile s3://bucket1/testfile
```
<div class="alert alert-info" role="alert">
-Note: REDUCED_REDUNDANCY is required for the single container ozone, since it
- has a single datanode. </div>
-We can now verify that file got uploaded by running the list command against
-our bucket.
+注意:对于单容器 ozone 来说,REDUCED_REDUNDANCY 参数是必需的,因为它只有一个数据节点。</div>
+我们可以对桶运行 list 命令来验证文件是否上传成功:
```bash
aws s3 --endpoint http://localhost:9878 ls s3://bucket1/testfile
```
-<div class="alert alert-info" role="alert"> You can also check the internal
-bucket browser supported by Ozone S3 interface by clicking on the below link.
+<div class="alert alert-info" role="alert"> 你也可以点击下面的链接,查看 Ozone 的 S3 接口内置的桶浏览器。
Review comment:
的 S3 接口内置的 =》 S3 网关自带的浏览器去查看桶内的文件。
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] qiusuo106 commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
qiusuo106 commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364577363
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器全家桶 Ozone
Review comment:
是“所有 Ozone 服务在单个容器”吗?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on issue #417: HDDS-2726.
start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on issue #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#issuecomment-575385191
LGTM, +1. I will merge it shortly.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] iamabug commented on issue #417: HDDS-2726.
start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
iamabug commented on issue #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#issuecomment-571807704
FYI, commit message is mistyped, it should be HDDS-2726
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on issue #417: HDDS-2726.
start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on issue #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#issuecomment-572413406
LGTM overall, some comments inline
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] timmylicheng commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
timmylicheng commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364090302
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器 Ozone
Review comment:
I think this is supposed to align with the 'all-in-one' terminology. Some place translates this to 全家桶.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao merged pull request #417: HDDS-2726.
start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao merged pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364575107
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器全家桶 Ozone
Review comment:
所以Ozone服务在单个容器
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] timmylicheng commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
timmylicheng commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364090031
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -1,5 +1,5 @@
---
-title: Simple Single Ozone
+title: 简易 Ozone
Review comment:
how about 'Single'? And from the context, what does Ozone mean here, like ozone server or ozone cluster?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364576068
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器全家桶 Ozone
-The easiest way to start up an all-in-one ozone container is to use the latest
-docker image from docker hub:
+启动一个 all-in-one 的 ozone 容器最简单的方法就是使用 Docker Hub 最新的 docker 镜像:
```bash
docker run -p 9878:9878 -p 9876:9876 apache/ozone
```
-This command will pull down the ozone image from docker hub and start all
-ozone services in a single container. <br>
-This container will run the required metadata servers (Ozone Manager, Storage
-Container Manager) one data node and the S3 compatible REST server
-(S3 Gateway).
+这个命令会从 Docker Hub 拉取 ozone 镜像并在一个容器中启动所有 ozone 服务,包括必要的元数据服务(Ozone Manager,Storage Container Manager)、一个数据节点和兼容 S3
+ 的 REST 服务(S3 网关)。
-# Local multi-container cluster
+# 本地多容器集群
-If you would like to use a more realistic pseudo-cluster where each components
-run in own containers, you can start it with a docker-compose file.
+如果你想要一个更符合实际的伪集群,以便让各个组件运行在单独的容器中,可以使用 docker-compose 配置文件来启动。
Review comment:
如果你需要一个更类似生产环境的集群,Ozone发行包自带的docker-compose配置可以让Ozone服务组件在各自独立的容器中运行。
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364576853
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器全家桶 Ozone
-The easiest way to start up an all-in-one ozone container is to use the latest
-docker image from docker hub:
+启动一个 all-in-one 的 ozone 容器最简单的方法就是使用 Docker Hub 最新的 docker 镜像:
```bash
docker run -p 9878:9878 -p 9876:9876 apache/ozone
```
-This command will pull down the ozone image from docker hub and start all
-ozone services in a single container. <br>
-This container will run the required metadata servers (Ozone Manager, Storage
-Container Manager) one data node and the S3 compatible REST server
-(S3 Gateway).
+这个命令会从 Docker Hub 拉取 ozone 镜像并在一个容器中启动所有 ozone 服务,包括必要的元数据服务(Ozone Manager,Storage Container Manager)、一个数据节点和兼容 S3
+ 的 REST 服务(S3 网关)。
-# Local multi-container cluster
+# 本地多容器集群
-If you would like to use a more realistic pseudo-cluster where each components
-run in own containers, you can start it with a docker-compose file.
+如果你想要一个更符合实际的伪集群,以便让各个组件运行在单独的容器中,可以使用 docker-compose 配置文件来启动。
-We have shipped a docker-compose and an enviorment file as part of the
-container image that is uploaded to docker hub.
+docker-compose 配置文件和一个 environment 文件已经包含在 Docker Hub 的镜像中。
-The following commands can be used to extract these files from the image in the docker hub.
+下面的命令可以从镜像中获取到这两个文件:
```bash
docker run apache/ozone cat docker-compose.yaml > docker-compose.yaml
docker run apache/ozone cat docker-config > docker-config
```
- Now you can start the cluster with docker-compose:
+现在你可以用 docker-compose 命令来启动集群:
```bash
docker-compose up -d
```
-If you need multiple datanodes, we can just scale it up:
+如果你需要多个数据节点,可以通过下面的命令增加:
```bash
docker-compose scale datanode=3
```
-# Running S3 Clients
+# 运行 S3 客户端
-Once the cluster is booted up and ready, you can verify its status by
-connecting to the SCM's UI at [http://localhost:9876](http://localhost:9876).
+集群启动就绪后,你可以连接 SCM 的 UI 来验证它的状态,地址为([http://localhost:9876](http://localhost:9876))。
-The S3 gateway endpoint will be exposed at port 9878. You can use Ozone's S3
-support as if you are working against the real S3.
+S3 网关的端口为 9878,如果你正在使用 S3 作为存储方案,可以考虑 Ozone 的 S3 功能。
-Here is how you create buckets from command line:
+从命令行创建桶的命令为:
```bash
aws s3api --endpoint http://localhost:9878/ create-bucket --bucket=bucket1
```
-Only notable difference in the above command line is the fact that you have
-to tell the _endpoint_ address to the aws s3api command.
+唯一的区别在于你需要把 endpoint 的地址告诉 aws s3api 命令。
Review comment:
唯一的区别在于你需要在运行aws s3api 命令行的时候用 --endpoint选项指定ozone S3 网关的地址。
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] xiaoyuyao commented on a change in pull request
#417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
Posted by GitBox <gi...@apache.org>.
xiaoyuyao commented on a change in pull request #417: HDDS-2726. start/StartFromDockerHub.md translated to Chinese
URL: https://github.com/apache/hadoop-ozone/pull/417#discussion_r364576068
##########
File path: hadoop-hdds/docs/content/start/StartFromDockerHub.zh.md
##########
@@ -21,91 +21,76 @@ weight: 10
-->
{{< requirements >}}
- * Working docker setup
- * AWS CLI (optional)
+ * docker
+ * AWS CLI(可选)
{{< /requirements >}}
-# Ozone in a Single Container
+# 单容器全家桶 Ozone
-The easiest way to start up an all-in-one ozone container is to use the latest
-docker image from docker hub:
+启动一个 all-in-one 的 ozone 容器最简单的方法就是使用 Docker Hub 最新的 docker 镜像:
```bash
docker run -p 9878:9878 -p 9876:9876 apache/ozone
```
-This command will pull down the ozone image from docker hub and start all
-ozone services in a single container. <br>
-This container will run the required metadata servers (Ozone Manager, Storage
-Container Manager) one data node and the S3 compatible REST server
-(S3 Gateway).
+这个命令会从 Docker Hub 拉取 ozone 镜像并在一个容器中启动所有 ozone 服务,包括必要的元数据服务(Ozone Manager,Storage Container Manager)、一个数据节点和兼容 S3
+ 的 REST 服务(S3 网关)。
-# Local multi-container cluster
+# 本地多容器集群
-If you would like to use a more realistic pseudo-cluster where each components
-run in own containers, you can start it with a docker-compose file.
+如果你想要一个更符合实际的伪集群,以便让各个组件运行在单独的容器中,可以使用 docker-compose 配置文件来启动。
Review comment:
如果你需要一个更类似生产环境的集群,Ozone发行包自带的docker-compose可以让Ozone服务组件在各自独立的容器中运行。
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org