提交 ebdd6bae 编写于 作者: G gongweibao

fix bugs

上级 5f0ac852
# FileManager设计文档 # FileManager设计文档
## 目标 ## 目标
在本文档中,我们设计说明了名为FileManager系统,方便让用户上传自己的训练数据以进行分布式训练 在本文档中,我们设计说明了名为FileManager系统,方便让用户上传自己的训练数据以进行分布式训练
主要功能包括: 主要功能包括:
- 提供常用的命令行管理命令管理文件和目录 - 提供常用的命令行管理命令管理文件和目录
...@@ -41,13 +42,16 @@ RESTful API ...@@ -41,13 +42,16 @@ RESTful API
- `POST /api/v1/files`: Create files or directories. - `POST /api/v1/files`: Create files or directories.
- `DELETE /api/v1/files`: Delete files or directories. - `DELETE /api/v1/files`: Delete files or directories.
- /api/v1/file/chunks
- `GET /api/v1/storage/file/chunks`: Get chunks's attributes in a file.
- /api/v1/storage/files - /api/v1/storage/files
- `GET /api/v1/storage/files`: Download files or directories to local. - `GET /api/v1/storage/files`: Download files or directories to local.
- `POST /api/v1/storage/files`: Upload files or directories to server. - `POST /api/v1/storage/files`: Upload files or directories to server.
- /api/v1/storage/file/chunks - /api/v1/storage/file/chunks
- `GET /api/v1/storage/file/chunks`: Get chunks's attributes in a file. - `GET /api/v1/storage/file/chunks`: Upload chunks data.
- `POST /api/v1/storage/file/chunks`: Upload chunks to a file. - `POST /api/v1/storage/file/chunks`: Download chunks data.
``` ```
## 文件传输优化 ## 文件传输优化
......
...@@ -31,7 +31,7 @@ When using a command, we need to specify path arguments. There are two path argu ...@@ -31,7 +31,7 @@ When using a command, we need to specify path arguments. There are two path argu
A `pfspath` begin with `/pfs`, eg: `/pfs/$DATACENTER/home/$USER/folder`. A `pfspath` begin with `/pfs`, eg: `/pfs/$DATACENTER/home/$USER/folder`.
[Here](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/design/cluster_train/data_dispatch.md#上传训练文件) is how to config DataCenter [Here](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/design/cluster_train/data_dispatch.md#上传训练文件) is how to config datacenters.
## order of Path Arguments ## order of Path Arguments
Commonly, if there are two path arguments, the first is the source, and the second is the destination. Commonly, if there are two path arguments, the first is the source, and the second is the destination.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册